Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008928/0.0008932, allocations: 86.5 kB / 16.31 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 180.8 kB / 17.21 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 205.4 MB / 223.4 MB, free: 5.578 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000438/0.0004381, allocations: 11.98 kB / 280.2 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2378, allocations: 47.58 MB / 327.7 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.1645/0.4023, allocations: 130.5 MB / 458.3 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2125/0.6149, allocations: 1.619 MB / 459.9 MB, free: 2.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003656/0.6153, allocations: 5.312 kB / 459.9 MB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006207/0.6159, allocations: 143 kB / 460 MB, free: 2.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006203/0.6165, allocations: 304.8 kB / 460.3 MB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009873/0.6175, allocations: 328.5 kB / 460.6 MB, free: 2.219 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001502/0.619, allocations: 1.063 MB / 461.7 MB, free: 2.219 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002085/0.6193, allocations: 73.09 kB / 461.8 MB, free: 2.207 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000745/0.62, allocations: 351.8 kB / 462.1 MB, free: 2.203 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006206/0.6206, allocations: 318.2 kB / 462.4 MB, free: 2.199 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.171e-05/0.6207, allocations: 14.81 kB / 462.4 MB, free: 2.199 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004008/0.6211, allocations: 88.91 kB / 462.5 MB, free: 2.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.6213, allocations: 72.72 kB / 462.6 MB, free: 2.191 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.6214, allocations: 94.05 kB / 462.7 MB, free: 2.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005418/0.622, allocations: 368 kB / 463.1 MB, free: 2.137 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.622, allocations: 0.7812 kB / 463.1 MB, free: 2.137 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.622, allocations: 0 / 463.1 MB, free: 2.137 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.856e-05/0.622, allocations: 0 / 463.1 MB, free: 2.137 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001113/0.6232, allocations: 0.5204 MB / 463.6 MB, free: 17.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.6232, allocations: 13.75 kB / 463.6 MB, free: 17.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004087/0.6236, allocations: 46.25 kB / 463.6 MB, free: 17.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.624, allocations: 276 kB / 463.9 MB, free: 17.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.6241, allocations: 20.12 kB / 463.9 MB, free: 17.47 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.683e-05/0.6241, allocations: 34.98 kB / 464 MB, free: 17.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005116/0.6247, allocations: 293 kB / 464.2 MB, free: 17.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.6247, allocations: 8.875 kB / 464.3 MB, free: 17.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.6247, allocations: 14.09 kB / 464.3 MB, free: 17.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.6247, allocations: 5.625 kB / 464.3 MB, free: 17.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003259/0.6251, allocations: 205.6 kB / 464.5 MB, free: 17.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.6267, allocations: 1.283 MB / 465.8 MB, free: 16.51 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000347/0.6271, allocations: 191.2 kB / 465.9 MB, free: 16.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.6272, allocations: 92.77 kB / 466 MB, free: 16.47 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000178/0.6274, allocations: 174.9 kB / 466.2 MB, free: 16.28 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.073e-05/0.6275, allocations: 33.31 kB / 466.2 MB, free: 16.24 MB / 398.1 MB Notification: Performance of pre-optimization done (n=21): time 1.823e-06/0.6275, allocations: 1.75 kB / 466.2 MB, free: 16.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.002377/0.6299, allocations: 1.041 MB / 467.3 MB, free: 15.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.6299, allocations: 54.31 kB / 467.3 MB, free: 15.65 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.6302, allocations: 262.1 kB / 467.6 MB, free: 15.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.6302, allocations: 32.2 kB / 467.6 MB, free: 15.51 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.6303, allocations: 177.4 kB / 467.8 MB, free: 15.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.837e-05/0.6304, allocations: 88.45 kB / 467.9 MB, free: 15.33 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.477e-05/0.6304, allocations: 8.344 kB / 467.9 MB, free: 15.33 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.6306, allocations: 341.7 kB / 468.2 MB, free: 15.01 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.6307, allocations: 81.7 kB / 468.3 MB, free: 15.01 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.6309, allocations: 184.9 kB / 468.5 MB, free: 14.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.631, allocations: 119.3 kB / 468.6 MB, free: 14.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6311, allocations: 0 / 468.6 MB, free: 14.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000509/0.6316, allocations: 441.4 kB / 469 MB, free: 14.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.6316, allocations: 5.344 kB / 469 MB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.6316, allocations: 4.875 kB / 469 MB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001225/0.6317, allocations: 43.83 kB / 469.1 MB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.632, allocations: 82.25 kB / 469.2 MB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001801/0.6338, allocations: 2.563 MB / 471.7 MB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.6341, allocations: 22.7 kB / 471.7 MB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/0.6341, allocations: 19.02 kB / 471.8 MB, free: 12.18 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001732/0.6343, allocations: 153.8 kB / 471.9 MB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/0.6344, allocations: 30.12 kB / 471.9 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000492/0.6349, allocations: 363.2 kB / 472.3 MB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.6349, allocations: 7.266 kB / 472.3 MB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.6349, allocations: 0 / 472.3 MB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005064/0.6354, allocations: 0.6163 MB / 472.9 MB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008694/0.6363, allocations: 0.7619 MB / 473.7 MB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.6363, allocations: 2.969 kB / 473.7 MB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.6365, allocations: 52.56 kB / 473.7 MB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.882e-05/0.6366, allocations: 22.77 kB / 473.8 MB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.6366, allocations: 8.359 kB / 473.8 MB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007789/0.6374, allocations: 1.279 MB / 475 MB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.6374, allocations: 2.906 kB / 475.1 MB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005466/0.638, allocations: 0.516 MB / 475.6 MB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.141e-05/0.6381, allocations: 100.6 kB / 475.7 MB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.6381, allocations: 3.25 kB / 475.7 MB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.6384, allocations: 15.14 kB / 475.7 MB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.6384, allocations: 29.88 kB / 475.7 MB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.6384, allocations: 17.75 kB / 475.7 MB, free: 9.258 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001437/0.6386, allocations: 183.8 kB / 475.9 MB, free: 9.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6386, allocations: 0 / 475.9 MB, free: 9.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004349/0.639, allocations: 101.7 kB / 476 MB, free: 9.176 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001945/0.6392, allocations: 129.5 kB / 476.1 MB, free: 9.082 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000559/0.6398, allocations: 454.6 kB / 476.6 MB, free: 8.859 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6398, allocations: 0 / 476.6 MB, free: 8.859 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002198/0.6401, allocations: 215.6 kB / 476.8 MB, free: 8.746 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008431/0.6409, allocations: 158.8 kB / 476.9 MB, free: 8.734 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.6419, allocations: 0.8094 MB / 477.8 MB, free: 8.285 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.6423, allocations: 0.7627 MB / 478.5 MB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002824/0.6425, allocations: 64.27 kB / 478.6 MB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.416e-05/0.6426, allocations: 33.03 kB / 478.6 MB, free: 7.555 MB / 398.1 MB Notification: Performance of SimCode: time 1.182e-06/0.6426, allocations: 0 / 478.6 MB, free: 7.555 MB / 398.1 MB Notification: Performance of Templates: time 0.008985/0.6516, allocations: 5.656 MB / 484.3 MB, free: 7.109 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1)