Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_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.001017/0.001017, allocations: 96.28 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 178.6 kB / 16.57 MB, free: 6.375 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.621/1.621, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3336/0.3336, allocations: 43.55 MB / 314.5 MB, free: 8.824 MB / 254.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.0005107/0.0005109, allocations: 12 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1267, allocations: 58.84 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.369/0.4957, allocations: 141.9 MB / 0.571 GB, free: 13.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01345/0.5092, allocations: 8.803 MB / 0.5796 GB, free: 4.914 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.5103, allocations: 23.75 kB / 0.5797 GB, free: 4.891 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008837/0.5112, allocations: 270.7 kB / 0.5799 GB, free: 4.625 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003691/0.5149, allocations: 1.183 MB / 0.5811 GB, free: 3.445 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002805/0.5177, allocations: 0.9007 MB / 0.582 GB, free: 2.559 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001866/0.5196, allocations: 1.043 MB / 0.583 GB, free: 1.516 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006251/0.5202, allocations: 390.9 kB / 0.5833 GB, free: 1.133 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001669/0.5219, allocations: 0.7363 MB / 0.5841 GB, free: 404 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007564/0.5227, allocations: 458.5 kB / 0.5845 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.294e-05/0.5227, allocations: 28 kB / 0.5845 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.5244, allocations: 0.6281 MB / 0.5851 GB, free: 15.29 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002311/0.5246, allocations: 219.4 kB / 0.5854 GB, free: 15.07 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.5248, allocations: 169.3 kB / 0.5855 GB, free: 14.9 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.5261, allocations: 0.9862 MB / 0.5865 GB, free: 13.92 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.5261, allocations: 0 / 0.5865 GB, free: 13.92 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.5261, allocations: 0 / 0.5865 GB, free: 13.92 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.5262, allocations: 0 / 0.5865 GB, free: 13.92 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002112/0.5283, allocations: 0.9832 MB / 0.5874 GB, free: 12.89 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.5283, allocations: 16.02 kB / 0.5875 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001514/0.5285, allocations: 106.5 kB / 0.5876 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007879/0.5293, allocations: 131.1 kB / 0.5877 GB, free: 12.63 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008109/0.5301, allocations: 488.6 kB / 0.5881 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.5302, allocations: 104.4 kB / 0.5882 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.617e-05/0.5303, allocations: 52 kB / 0.5883 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.5316, allocations: 0.8096 MB / 0.5891 GB, free: 11.06 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.5316, allocations: 3.938 kB / 0.5891 GB, free: 11.06 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.643e-05/0.5317, allocations: 27.98 kB / 0.5891 GB, free: 11.03 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.517e-05/0.5317, allocations: 40.92 kB / 0.5892 GB, free: 10.99 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.5328, allocations: 0.6205 MB / 0.5898 GB, free: 10.37 MB / 462.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.004458/0.5373, allocations: 3.953 MB / 0.5936 GB, free: 6.176 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005487/0.5378, allocations: 355.6 kB / 0.594 GB, free: 5.82 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.881e-05/0.5379, allocations: 20.94 kB / 0.594 GB, free: 5.801 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.538, allocations: 46.83 kB / 0.594 GB, free: 5.746 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 2.435e-06/0.538, allocations: 0 / 0.594 GB, free: 5.746 MB / 462.1 MB Notification: Performance of matching and sorting (n=39): time 0.005447/0.5434, allocations: 1.681 MB / 0.5957 GB, free: 3.996 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.108e-05/0.5435, allocations: 132.5 kB / 0.5958 GB, free: 3.836 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007231/0.5443, allocations: 0.6055 MB / 0.5964 GB, free: 3.223 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.142e-05/0.5443, allocations: 37.7 kB / 0.5964 GB, free: 3.18 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/0.5446, allocations: 363 kB / 0.5968 GB, free: 2.82 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.5447, allocations: 145.9 kB / 0.5969 GB, free: 2.676 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.5448, allocations: 12 kB / 0.5969 GB, free: 2.664 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.5449, allocations: 374.8 kB / 0.5973 GB, free: 2.289 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000335/0.5453, allocations: 201.9 kB / 0.5975 GB, free: 2.094 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005318/0.5458, allocations: 0.5085 MB / 0.598 GB, free: 1.441 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000432/0.5463, allocations: 291.8 kB / 0.5982 GB, free: 1.156 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.5463, allocations: 4 kB / 0.5982 GB, free: 1.152 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001352/0.5476, allocations: 0.8727 MB / 0.5991 GB, free: 276 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.5477, allocations: 11.95 kB / 0.5991 GB, free: 264 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.5477, allocations: 12 kB / 0.5991 GB, free: 252 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/0.5491, allocations: 316.9 kB / 0.5994 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003842/0.5495, allocations: 122.3 kB / 0.5995 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/0.5506, allocations: 0.9381 MB / 0.6005 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005415/0.5511, allocations: 48.03 kB / 0.6005 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.341e-05/0.5512, allocations: 64 kB / 0.6006 GB, free: 14.75 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003696/0.5516, allocations: 245.5 kB / 0.6008 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.5517, allocations: 71.16 kB / 0.6009 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001478/0.5532, allocations: 0.675 MB / 0.6015 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.5532, allocations: 11.94 kB / 0.6015 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.5532, allocations: 0 / 0.6015 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.5532, allocations: 4 kB / 0.6015 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/0.5551, allocations: 1.262 MB / 0.6028 GB, free: 12.37 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.5551, allocations: 4.875 kB / 0.6028 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.5562, allocations: 203.8 kB / 0.603 GB, free: 12.16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.392e-05/0.5563, allocations: 24.97 kB / 0.603 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.185e-05/0.5563, allocations: 27.98 kB / 0.603 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002/0.5583, allocations: 2.699 MB / 0.6057 GB, free: 9.148 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.5583, allocations: 4.297 kB / 0.6057 GB, free: 9.145 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.5596, allocations: 0.8564 MB / 0.6065 GB, free: 8.234 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002932/0.5599, allocations: 180.3 kB / 0.6067 GB, free: 8.039 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.166e-05/0.56, allocations: 12 kB / 0.6067 GB, free: 8.027 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004074/0.5604, allocations: 27.97 kB / 0.6067 GB, free: 8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.348e-05/0.5605, allocations: 39.97 kB / 0.6067 GB, free: 7.961 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.185e-05/0.5606, allocations: 47.92 kB / 0.6068 GB, free: 7.914 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000611/0.5612, allocations: 427 kB / 0.6072 GB, free: 7.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5612, allocations: 0 / 0.6072 GB, free: 7.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001085/0.5623, allocations: 296 kB / 0.6075 GB, free: 7.211 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.002581/0.5649, allocations: 1.921 MB / 0.6094 GB, free: 5.238 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001375/0.5663, allocations: 0.5415 MB / 0.6099 GB, free: 4.699 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.5663, allocations: 0 / 0.6099 GB, free: 4.699 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.5673, allocations: 427.9 kB / 0.6103 GB, free: 4.27 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.5689, allocations: 327.9 kB / 0.6106 GB, free: 3.953 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009331/0.5782, allocations: 10.84 MB / 0.6212 GB, free: 8.84 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006183/0.5789, allocations: 0.9494 MB / 0.6221 GB, free: 7.863 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001095/0.58, allocations: 258 kB / 0.6224 GB, free: 7.609 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004819/0.5805, allocations: 271.3 kB / 0.6226 GB, free: 7.344 MB / 494.1 MB Notification: Performance of SimCode: time 8.61e-07/0.5805, allocations: 0 / 0.6226 GB, free: 7.344 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2342/0.8147, allocations: 23.73 MB / 0.6458 GB, free: 150.8 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/0.8149, allocations: 269.4 kB / 0.6461 GB, free: 150.4 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.529/3.344, allocations: 2.297 kB / 0.6461 GB, free: 150.4 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat