Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 95.38 kB / 16.95 MB, free: 6.891 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.001647/0.001648, allocations: 185.9 kB / 17.84 MB, free: 6.137 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.627/1.627, allocations: 205.4 MB / 224 MB, free: 13.08 MB / 190.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.0004481/0.0004481, allocations: 8 kB / 280.9 MB, free: 3.613 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1186, allocations: 47.58 MB / 328.5 MB, free: 3.969 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.4101/0.5288, allocations: 130.5 MB / 459 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002535/0.5314, allocations: 1.641 MB / 460.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002038/0.5316, allocations: 0 / 460.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005347/0.5322, allocations: 139.2 kB / 460.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005642/0.5327, allocations: 306.5 kB / 461 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009493/0.5337, allocations: 330.3 kB / 461.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0012/0.5349, allocations: 1.071 MB / 462.4 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002873/0.5353, allocations: 84.64 kB / 462.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006274/0.5359, allocations: 334.8 kB / 462.9 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004583/0.5364, allocations: 326.8 kB / 463.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/0.5364, allocations: 16 kB / 463.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002482/0.5367, allocations: 75.83 kB / 463.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.5368, allocations: 79.7 kB / 463.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.277e-05/0.5369, allocations: 93.52 kB / 463.4 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003872/0.5373, allocations: 372.9 kB / 463.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.137e-05/0.5374, allocations: 4 kB / 463.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.047e-06/0.5374, allocations: 4 kB / 463.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.908e-05/0.5374, allocations: 0 / 463.8 MB, free: 2.172 MB / 350.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.0007407/0.5382, allocations: 0.5308 MB / 464.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.5382, allocations: 8.031 kB / 464.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.15e-05/0.5383, allocations: 62.53 kB / 464.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002499/0.5386, allocations: 39.62 kB / 464.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.539, allocations: 278.5 kB / 464.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.305e-05/0.539, allocations: 24.56 kB / 464.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.583e-05/0.5391, allocations: 24 kB / 464.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005804/0.5396, allocations: 293.4 kB / 465 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.5397, allocations: 0 / 465 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.5397, allocations: 15.95 kB / 465.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.5397, allocations: 11.94 kB / 465.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003197/0.5401, allocations: 202.1 kB / 465.3 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.5418, allocations: 1.293 MB / 466.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004725/0.5423, allocations: 183.3 kB / 466.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.5424, allocations: 85.22 kB / 466.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000157/0.5426, allocations: 174.4 kB / 467 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.5426, allocations: 42.69 kB / 467 MB, free: 14.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.383e-06/0.5427, allocations: 0 / 467 MB, free: 14.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.00256/0.5452, allocations: 1.035 MB / 468.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.5453, allocations: 59.34 kB / 468.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.5456, allocations: 258.5 kB / 468.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.5456, allocations: 29.7 kB / 468.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.5457, allocations: 180.2 kB / 468.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.967e-05/0.5458, allocations: 86.73 kB / 468.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.519e-05/0.5458, allocations: 12 kB / 468.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.546, allocations: 334.8 kB / 469 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.5462, allocations: 83.73 kB / 469.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.5464, allocations: 183.8 kB / 469.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.5466, allocations: 103.9 kB / 469.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.5466, allocations: 0 / 469.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006734/0.5473, allocations: 456 kB / 469.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.5474, allocations: 4 kB / 469.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.5474, allocations: 4 kB / 469.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001541/0.5475, allocations: 41.7 kB / 469.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/0.5479, allocations: 75.89 kB / 469.9 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/0.5501, allocations: 2.576 MB / 472.5 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.5504, allocations: 19.98 kB / 472.5 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.5504, allocations: 12 kB / 472.5 MB, free: 8.648 MB / 366.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.0002024/0.5506, allocations: 169.9 kB / 472.7 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.975e-05/0.5507, allocations: 31.62 kB / 472.7 MB, free: 8.441 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005673/0.5513, allocations: 354.7 kB / 473.1 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.5513, allocations: 7.938 kB / 473.1 MB, free: 8.055 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.5513, allocations: 4 kB / 473.1 MB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006728/0.552, allocations: 0.611 MB / 473.7 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009848/0.553, allocations: 0.7547 MB / 474.5 MB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.553, allocations: 0 / 474.5 MB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/0.5533, allocations: 67.92 kB / 474.5 MB, free: 6.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.995e-05/0.5534, allocations: 20.84 kB / 474.6 MB, free: 6.406 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.5534, allocations: 8 kB / 474.6 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009749/0.5544, allocations: 1.278 MB / 475.8 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.5544, allocations: 0 / 475.8 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006546/0.555, allocations: 0.5107 MB / 476.4 MB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.943e-05/0.5552, allocations: 108.9 kB / 476.5 MB, free: 4.312 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.5552, allocations: 4 kB / 476.5 MB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.5554, allocations: 11.98 kB / 476.5 MB, free: 4.297 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.5555, allocations: 23.91 kB / 476.5 MB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.5555, allocations: 19.98 kB / 476.5 MB, free: 4.254 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001903/0.5557, allocations: 178 kB / 476.7 MB, free: 4.082 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5557, allocations: 4 kB / 476.7 MB, free: 4.078 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005018/0.5562, allocations: 107.9 kB / 476.8 MB, free: 3.973 MB / 366.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.001154/0.5574, allocations: 1.071 MB / 477.9 MB, free: 2.852 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007222/0.5582, allocations: 457.1 kB / 478.3 MB, free: 2.379 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.5582, allocations: 0 / 478.3 MB, free: 2.379 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.5584, allocations: 215.9 kB / 478.5 MB, free: 2.156 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000977/0.5594, allocations: 160.5 kB / 478.7 MB, free: 2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002941/0.5624, allocations: 1.887 MB / 480.6 MB, free: 0 / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.5628, allocations: 0.7646 MB / 481.3 MB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003224/0.5631, allocations: 62.92 kB / 481.4 MB, free: 15.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.5633, allocations: 95.34 kB / 481.5 MB, free: 15.05 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5633, allocations: 0 / 481.5 MB, free: 15.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/0.5888, allocations: 8.442 MB / 489.9 MB, free: 6.613 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/0.5891, allocations: 238.8 kB / 490.2 MB, free: 6.363 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.117/2.707, allocations: 0 / 490.2 MB, free: 6.363 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat