Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.IdealGases.Air,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",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.001078/0.001078, allocations: 95.83 kB / 16.93 MB, free: 5.984 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.001007/0.001007, allocations: 181.2 kB / 17.82 MB, free: 5.652 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.551/1.551, allocations: 205.4 MB / 224 MB, free: 13.18 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.0005259/0.0005261, allocations: 8 kB / 280.8 MB, free: 3.652 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09813/0.09867, allocations: 47.58 MB / 328.4 MB, free: 4.004 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.347/0.4457, allocations: 137.3 MB / 465.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002424/0.4481, allocations: 1.946 MB / 467.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.4483, allocations: 3.938 kB / 467.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000477/0.4488, allocations: 143.4 kB / 467.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005553/0.4494, allocations: 275.1 kB / 468.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007311/0.4501, allocations: 273.8 kB / 468.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005472/0.4507, allocations: 486.9 kB / 468.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.4509, allocations: 69.19 kB / 468.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008634/0.4517, allocations: 438.8 kB / 469.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/0.452, allocations: 175.4 kB / 469.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/0.4521, allocations: 16 kB / 469.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002851/0.4523, allocations: 103.9 kB / 469.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.4525, allocations: 79.78 kB / 469.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.871e-05/0.4526, allocations: 89.58 kB / 469.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004637/0.453, allocations: 390 kB / 470.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.4531, allocations: 0 / 470.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.4531, allocations: 0 / 470.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.4531, allocations: 0 / 470.1 MB, free: 10.88 MB / 366.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.0008176/0.4539, allocations: 0.5191 MB / 470.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.454, allocations: 19.97 kB / 470.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.968e-05/0.454, allocations: 62.53 kB / 470.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002664/0.4543, allocations: 39.62 kB / 470.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004139/0.4547, allocations: 266.6 kB / 471 MB, free: 9.887 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.4548, allocations: 24.48 kB / 471.1 MB, free: 9.863 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.4548, allocations: 24 kB / 471.1 MB, free: 9.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004785/0.4553, allocations: 315.7 kB / 471.4 MB, free: 9.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.4553, allocations: 0 / 471.4 MB, free: 9.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.648e-05/0.4554, allocations: 15.95 kB / 471.4 MB, free: 9.484 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.4554, allocations: 8 kB / 471.4 MB, free: 9.477 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000319/0.4557, allocations: 209.5 kB / 471.6 MB, free: 9.273 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.4573, allocations: 1.566 MB / 473.2 MB, free: 7.559 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.4576, allocations: 174.7 kB / 473.4 MB, free: 7.379 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/0.4576, allocations: 7.984 kB / 473.4 MB, free: 7.371 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.4577, allocations: 38.56 kB / 473.4 MB, free: 7.324 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.343e-06/0.4577, allocations: 4 kB / 473.4 MB, free: 7.32 MB / 366.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005332/0.463, allocations: 1.624 MB / 475 MB, free: 5.566 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.4631, allocations: 63.41 kB / 475.1 MB, free: 5.492 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/0.4634, allocations: 252.8 kB / 475.3 MB, free: 5.238 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.4634, allocations: 33.7 kB / 475.4 MB, free: 5.199 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.4635, allocations: 172.3 kB / 475.5 MB, free: 5.023 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.209e-05/0.4636, allocations: 106.4 kB / 475.6 MB, free: 4.918 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.798e-05/0.4637, allocations: 4 kB / 475.6 MB, free: 4.914 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.4638, allocations: 338.8 kB / 476 MB, free: 4.574 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.464, allocations: 91.73 kB / 476.1 MB, free: 4.484 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.4642, allocations: 183.8 kB / 476.2 MB, free: 4.262 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.4644, allocations: 119.9 kB / 476.4 MB, free: 4.145 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.4644, allocations: 0 / 476.4 MB, free: 4.145 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006085/0.465, allocations: 394.7 kB / 476.7 MB, free: 3.746 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.4651, allocations: 8 kB / 476.8 MB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.4651, allocations: 11.94 kB / 476.8 MB, free: 3.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002048/0.4653, allocations: 66.09 kB / 476.8 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003581/0.4657, allocations: 91.89 kB / 476.9 MB, free: 3.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.4672, allocations: 1.852 MB / 478.8 MB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.4674, allocations: 27.89 kB / 478.8 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-05/0.4675, allocations: 36 kB / 478.8 MB, free: 1.496 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: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002197/0.4677, allocations: 161.8 kB / 479 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.742e-05/0.4678, allocations: 27.72 kB / 479 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009353/0.4687, allocations: 434.4 kB / 479.4 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.4688, allocations: 11.94 kB / 479.5 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.4688, allocations: 0 / 479.5 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005492/0.4693, allocations: 0.5672 MB / 480 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.4704, allocations: 0.7193 MB / 480.7 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.4704, allocations: 8 kB / 480.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.4707, allocations: 71.95 kB / 480.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.649e-05/0.4708, allocations: 24.75 kB / 480.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.4708, allocations: 15.98 kB / 480.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009892/0.4718, allocations: 1.288 MB / 482.1 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.4718, allocations: 0 / 482.1 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006427/0.4725, allocations: 0.4899 MB / 482.6 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.4726, allocations: 108.8 kB / 482.7 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.008e-05/0.4727, allocations: 8 kB / 482.7 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.4729, allocations: 15.98 kB / 482.8 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.473, allocations: 23.92 kB / 482.8 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.457e-05/0.473, allocations: 31.98 kB / 482.8 MB, free: 13.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001905/0.4732, allocations: 194 kB / 483 MB, free: 12.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4732, allocations: 0 / 483 MB, free: 12.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005287/0.4738, allocations: 120 kB / 483.1 MB, free: 12.83 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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.001321/0.4751, allocations: 1.211 MB / 484.3 MB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007093/0.4758, allocations: 378.3 kB / 484.7 MB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4758, allocations: 0 / 484.7 MB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002799/0.4761, allocations: 231.5 kB / 484.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000882/0.477, allocations: 153 kB / 485.1 MB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003676/0.4807, allocations: 3.828 MB / 488.9 MB, free: 6.867 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/0.4812, allocations: 0.769 MB / 489.7 MB, free: 6.074 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006388/0.4818, allocations: 114.9 kB / 489.8 MB, free: 5.961 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002657/0.4821, allocations: 127.4 kB / 489.9 MB, free: 5.836 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4821, allocations: 0 / 489.9 MB, free: 5.836 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.507, allocations: 11.1 MB / 0.4893 GB, free: 10.73 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002287/0.5073, allocations: 230.5 kB / 0.4895 GB, free: 10.49 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.99/2.497, allocations: 4 kB / 0.4895 GB, free: 10.48 MB / 398.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat