Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",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.001001/0.001001, allocations: 95.34 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.001284/0.001285, allocations: 178.8 kB / 16.57 MB, free: 6.844 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.689/1.689, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.3681/0.3681, allocations: 43.54 MB / 314.5 MB, free: 8.762 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.0004838/0.0004838, allocations: 16 kB / 384 MB, free: 7.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1164, allocations: 58.85 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3787/0.4952, allocations: 141.9 MB / 0.571 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01366/0.5089, allocations: 8.803 MB / 0.5796 GB, free: 4.906 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.5101, allocations: 27.75 kB / 0.5797 GB, free: 4.879 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009011/0.511, allocations: 270.6 kB / 0.5799 GB, free: 4.613 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00355/0.5145, allocations: 1.178 MB / 0.5811 GB, free: 3.438 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002601/0.5171, allocations: 0.9052 MB / 0.582 GB, free: 2.547 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001658/0.5188, allocations: 1.04 MB / 0.583 GB, free: 1.508 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006836/0.5195, allocations: 385.7 kB / 0.5833 GB, free: 1.129 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001604/0.5211, allocations: 0.7402 MB / 0.5841 GB, free: 396 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007056/0.5218, allocations: 454.5 kB / 0.5845 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.003e-05/0.5219, allocations: 32 kB / 0.5845 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.5235, allocations: 0.6281 MB / 0.5851 GB, free: 15.28 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002416/0.5237, allocations: 215.4 kB / 0.5854 GB, free: 15.07 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.5239, allocations: 169.3 kB / 0.5855 GB, free: 14.9 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.5252, allocations: 0.9823 MB / 0.5865 GB, free: 13.92 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.5252, allocations: 0 / 0.5865 GB, free: 13.92 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5252, allocations: 0 / 0.5865 GB, free: 13.92 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.5252, allocations: 4 kB / 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.002022/0.5273, allocations: 0.9871 MB / 0.5874 GB, free: 12.88 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.5273, allocations: 12.02 kB / 0.5875 GB, free: 12.87 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001309/0.5274, allocations: 99.06 kB / 0.5875 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007665/0.5282, allocations: 139.1 kB / 0.5877 GB, free: 12.63 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008508/0.5291, allocations: 496.6 kB / 0.5882 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.5292, allocations: 104.4 kB / 0.5883 GB, free: 11.99 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.444e-05/0.5293, allocations: 48 kB / 0.5883 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.5305, allocations: 0.8062 MB / 0.5891 GB, free: 11.06 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.5305, allocations: 3.938 kB / 0.5891 GB, free: 11.05 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-05/0.5306, allocations: 27.98 kB / 0.5891 GB, free: 11.03 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.966e-05/0.5307, allocations: 40.97 kB / 0.5892 GB, free: 10.99 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.5317, allocations: 0.6204 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.004615/0.5363, allocations: 3.959 MB / 0.5936 GB, free: 6.164 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005742/0.5369, allocations: 347.6 kB / 0.594 GB, free: 5.816 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-05/0.537, allocations: 24.92 kB / 0.594 GB, free: 5.793 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.5371, allocations: 42.84 kB / 0.594 GB, free: 5.742 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 2.165e-06/0.5371, allocations: 0 / 0.594 GB, free: 5.742 MB / 462.1 MB Notification: Performance of matching and sorting (n=39): time 0.00555/0.5426, allocations: 1.681 MB / 0.5957 GB, free: 3.996 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.055e-05/0.5428, allocations: 136.5 kB / 0.5958 GB, free: 3.832 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007065/0.5435, allocations: 0.6055 MB / 0.5964 GB, free: 3.219 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.962e-05/0.5435, allocations: 37.7 kB / 0.5964 GB, free: 3.176 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.5438, allocations: 363 kB / 0.5968 GB, free: 2.816 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.5439, allocations: 149.9 kB / 0.5969 GB, free: 2.668 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.5439, allocations: 8 kB / 0.5969 GB, free: 2.66 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.5441, allocations: 374.8 kB / 0.5973 GB, free: 2.285 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/0.5444, allocations: 201.9 kB / 0.5975 GB, free: 2.09 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005496/0.545, allocations: 0.5085 MB / 0.598 GB, free: 1.438 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004298/0.5454, allocations: 295.8 kB / 0.5982 GB, free: 1.148 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.5455, allocations: 0 / 0.5982 GB, free: 1.148 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001331/0.5468, allocations: 0.8727 MB / 0.5991 GB, free: 272 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.5468, allocations: 15.95 kB / 0.5991 GB, free: 256 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.5468, allocations: 8 kB / 0.5991 GB, free: 248 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001469/0.5483, allocations: 323.5 kB / 0.5994 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003863/0.5487, allocations: 119.8 kB / 0.5995 GB, free: 15.81 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/0.5498, allocations: 0.9347 MB / 0.6005 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005511/0.5504, allocations: 44.05 kB / 0.6005 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.831e-05/0.5505, allocations: 67.98 kB / 0.6006 GB, free: 14.74 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.0003536/0.5508, allocations: 241.5 kB / 0.6008 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.551, allocations: 71.16 kB / 0.6009 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.5524, allocations: 0.6818 MB / 0.6015 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.5524, allocations: 7.953 kB / 0.6015 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.505e-06/0.5524, allocations: 0 / 0.6015 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.5525, allocations: 0 / 0.6015 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.5545, allocations: 1.262 MB / 0.6028 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.5545, allocations: 0 / 0.6028 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.5555, allocations: 207.8 kB / 0.603 GB, free: 12.16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001017/0.5557, allocations: 24.84 kB / 0.603 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-05/0.5557, allocations: 32.05 kB / 0.603 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002163/0.5579, allocations: 2.699 MB / 0.6057 GB, free: 9.141 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.5579, allocations: 5.969 kB / 0.6057 GB, free: 9.137 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.5591, allocations: 0.8565 MB / 0.6065 GB, free: 8.227 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003061/0.5594, allocations: 184.3 kB / 0.6067 GB, free: 8.027 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.5596, allocations: 8 kB / 0.6067 GB, free: 8.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004/0.56, allocations: 23.98 kB / 0.6067 GB, free: 7.996 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.133e-05/0.5601, allocations: 43.95 kB / 0.6067 GB, free: 7.953 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.608e-05/0.5602, allocations: 43.94 kB / 0.6068 GB, free: 7.91 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005642/0.5607, allocations: 431 kB / 0.6072 GB, free: 7.492 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5608, allocations: 0 / 0.6072 GB, free: 7.492 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001124/0.5619, allocations: 292 kB / 0.6075 GB, free: 7.207 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.002767/0.5647, allocations: 1.926 MB / 0.6094 GB, free: 5.23 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001278/0.566, allocations: 0.5378 MB / 0.6099 GB, free: 4.695 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.566, allocations: 0 / 0.6099 GB, free: 4.695 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.567, allocations: 427.8 kB / 0.6103 GB, free: 4.266 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.5685, allocations: 325.2 kB / 0.6106 GB, free: 3.957 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009466/0.578, allocations: 10.84 MB / 0.6212 GB, free: 8.852 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005428/0.5786, allocations: 0.9455 MB / 0.6221 GB, free: 7.879 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001056/0.5796, allocations: 269.9 kB / 0.6224 GB, free: 7.613 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004753/0.5801, allocations: 271.3 kB / 0.6226 GB, free: 7.348 MB / 494.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5801, allocations: 0 / 0.6226 GB, free: 7.348 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2305/0.8106, 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.0001929/0.8109, allocations: 269.4 kB / 0.6461 GB, free: 150.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.494/3.305, allocations: 3.938 kB / 0.6461 GB, free: 150.5 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat does not exist to compare? outputFormat=mat