Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.FOPDT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009121/0.0009121, allocations: 72.52 kB / 19.95 MB, free: 4.613 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009963/0.0009963, allocations: 169.6 kB / 23.23 MB, free: 1.332 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9125/0.9125, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.06236/0.06236, allocations: 18.14 MB / 278.1 MB, free: 11.54 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AES.ProcessBlocks.FOPDT,fileNamePrefix="AES_AES_ProcessBlocks_FOPDT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessBlocks.FOPDT,fileNamePrefix="AES_AES_ProcessBlocks_FOPDT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 412.7 MB, free: 13.24 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.331e-05, allocations: 3.812 kB / 412.7 MB, free: 13.24 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.002015/0.002038, allocations: 1.442 MB / 414.1 MB, free: 12.84 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003524/0.00239, allocations: 104.9 kB / 414.2 MB, free: 12.8 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.273e-05/0.002463, allocations: 0 / 414.2 MB, free: 12.8 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.573e-05/0.002499, allocations: 4.734 kB / 414.2 MB, free: 12.8 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 9.89e-05/0.002598, allocations: 15.67 kB / 414.2 MB, free: 12.79 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.002938, allocations: 27.11 kB / 414.3 MB, free: 12.78 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.003095, allocations: 39.16 kB / 414.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.003247, allocations: 10.27 kB / 414.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.624e-05/0.003293, allocations: 10.7 kB / 414.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.967e-05/0.003373, allocations: 12.42 kB / 414.3 MB, free: 12.76 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.003399, allocations: 2.312 kB / 414.3 MB, free: 12.76 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.19e-05/0.003411, allocations: 2.062 kB / 414.3 MB, free: 12.76 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.003432, allocations: 5.469 kB / 414.3 MB, free: 12.76 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.797e-05/0.00346, allocations: 7.125 kB / 414.3 MB, free: 12.76 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.003577, allocations: 30.41 kB / 414.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.003583, allocations: 0 / 414.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.003586, allocations: 4 kB / 414.4 MB, free: 12.74 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.003593, allocations: 0 / 414.4 MB, free: 12.74 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004268/0.00402, allocations: 274.1 kB / 414.6 MB, free: 12.47 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.004071, allocations: 9.172 kB / 414.6 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.54e-05/0.004136, allocations: 33.67 kB / 414.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.931e-05/0.004165, allocations: 8.078 kB / 414.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.004383, allocations: 126.3 kB / 414.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.004394, allocations: 2.328 kB / 414.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.004415, allocations: 2.875 kB / 414.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.105e-05/0.004507, allocations: 47.53 kB / 414.9 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.004514, allocations: 4.188 kB / 414.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.004522, allocations: 384 / 414.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.004528, allocations: 4.969 kB / 414.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.741e-05/0.004556, allocations: 17.45 kB / 414.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003138/0.004869, allocations: 229.7 kB / 415.1 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.188e-05/0.004931, allocations: 30.45 kB / 415.1 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.645e-05/0.004958, allocations: 13.48 kB / 415.2 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.004969, allocations: 0 / 415.2 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.004986, allocations: 31.72 kB / 415.2 MB, free: 11.94 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.004987, allocations: 5.031 kB / 415.2 MB, free: 11.94 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001511/0.005138, allocations: 46.58 kB / 415.2 MB, free: 11.9 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.005163, allocations: 52.5 kB / 415.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.37e-05/0.005227, allocations: 114.9 kB / 415.4 MB, free: 11.74 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.483e-06/0.005233, allocations: 33.14 kB / 415.4 MB, free: 11.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.058e-05/0.005264, allocations: 93.27 kB / 415.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.141e-05/0.005275, allocations: 9.859 kB / 415.5 MB, free: 11.61 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/0.0053, allocations: 16.22 kB / 415.6 MB, free: 11.6 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.213e-05/0.005332, allocations: 314.4 kB / 415.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.317e-05/0.005345, allocations: 10.61 kB / 415.9 MB, free: 11.28 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.122e-05/0.005357, allocations: 9.703 kB / 415.9 MB, free: 11.28 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.655e-05/0.005383, allocations: 19.02 kB / 415.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.005386, allocations: 3.938 kB / 415.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.209e-05/0.005438, allocations: 47.08 kB / 415.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.005456, allocations: 7.625 kB / 416 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.005463, allocations: 1.062 kB / 416 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.005479, allocations: 384 / 416 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.523e-05/0.005554, allocations: 9.062 kB / 416 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.005561, allocations: 0.6562 kB / 416 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.318e-05/0.005574, allocations: 1.125 kB / 416 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-06/0.005581, allocations: 4.938 kB / 416 MB, free: 11.22 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.422e-05/0.005625, allocations: 120 kB / 416.1 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.005638, allocations: 3.078 kB / 416.1 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.695e-05/0.005665, allocations: 9.453 kB / 416.1 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.005671, allocations: 1.188 kB / 416.1 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.005678, allocations: 0 / 416.1 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.005684, allocations: 2.328 kB / 416.1 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.005911, allocations: 260.8 kB / 416.4 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.005912, allocations: 0 / 416.4 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.269e-05/0.005985, allocations: 7.438 kB / 416.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.005989, allocations: 5.281 kB / 416.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.006001, allocations: 4.203 kB / 416.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.006004, allocations: 1.375 kB / 416.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.006005, allocations: 0 / 416.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.006123, allocations: 142.8 kB / 416.5 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.191e-05/0.006134, allocations: 5.891 kB / 416.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.006149, allocations: 2.031 kB / 416.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.904e-05/0.006178, allocations: 3.938 kB / 416.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.571e-05/0.006194, allocations: 2.719 kB / 416.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.006197, allocations: 1.469 kB / 416.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.308e-05/0.006231, allocations: 94.69 kB / 416.6 MB, free: 10.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006231, allocations: 0 / 416.6 MB, free: 10.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001438/0.006374, allocations: 8.656 kB / 416.6 MB, free: 10.6 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (Pr.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001957/0.00657, allocations: 0.6793 MB / 417.3 MB, free: 9.938 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.475e-05/0.006655, allocations: 13.48 kB / 417.3 MB, free: 9.938 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.006657, allocations: 4.969 kB / 417.3 MB, free: 9.934 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.266e-06/0.006665, allocations: 7.281 kB / 417.3 MB, free: 9.93 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.006916, allocations: 10.42 kB / 417.3 MB, free: 9.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007286/0.007645, allocations: 1.27 MB / 418.6 MB, free: 8.758 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.281e-05/0.007688, allocations: 67.75 kB / 418.7 MB, free: 8.688 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.354e-05/0.007711, allocations: 7.797 kB / 418.7 MB, free: 8.684 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/0.007745, allocations: 15.38 kB / 418.7 MB, free: 8.672 MB / 330.7 MB Notification: Performance of SimCode: time 7.01e-07/0.007746, allocations: 0 / 418.7 MB, free: 8.672 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.02544, allocations: 2.089 MB / 420.8 MB, free: 7.777 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.878/6.904, allocations: 1.375 kB / 420.8 MB, free: 7.777 MB / 330.7 MB " [Timeout remaining time 653] (rm -f AES_AES.ProcessBlocks.FOPDT.pipe ; mkfifo AES_AES.ProcessBlocks.FOPDT.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.FOPDT.pipe >> ../files/AES_AES.ProcessBlocks.FOPDT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_ProcessBlocks_FOPDT_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 AES_AES_ProcessBlocks_FOPDT.fmu > AES_AES.ProcessBlocks.FOPDT.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.835438080132008] Failed to read output from testmodel.py, exit status != 0: 7.14315233938396 6.997392862 6.991595813 Calling exit ...