Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_MoistAir",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.001228/0.001228, allocations: 94.31 kB / 16.99 MB, free: 5.938 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.001212/0.001212, allocations: 181.7 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2051/0.2051, allocations: 44.23 MB / 337.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003134/0.0003135, allocations: 12 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1182, allocations: 61.91 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3791/0.4973, allocations: 127.9 MB / 0.5854 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01161/0.509, allocations: 8.777 MB / 0.5939 GB, free: 9.113 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002897/0.5093, allocations: 8 kB / 0.5939 GB, free: 9.105 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004241/0.5097, allocations: 59.69 kB / 0.594 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007334/0.5171, allocations: 2.135 MB / 0.5961 GB, free: 6.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004769/0.5176, allocations: 150.2 kB / 0.5962 GB, free: 6.766 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006068/0.5182, allocations: 335.8 kB / 0.5966 GB, free: 6.438 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.276e-05/0.5183, allocations: 24.38 kB / 0.5966 GB, free: 6.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003878/0.5187, allocations: 223.3 kB / 0.5968 GB, free: 6.191 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007068/0.5194, allocations: 323.3 kB / 0.5971 GB, free: 5.875 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.5195, allocations: 8 kB / 0.5971 GB, free: 5.867 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009162/0.5286, allocations: 3.882 MB / 0.6009 GB, free: 1.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.5288, allocations: 87.75 kB / 0.601 GB, free: 1.895 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.5289, allocations: 77.58 kB / 0.6011 GB, free: 1.812 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004429/0.5334, allocations: 1.434 MB / 0.6025 GB, free: 392 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.5334, allocations: 0 / 0.6025 GB, free: 392 kB / 430.1 MB Notification: Performance of FrontEnd: time 4.268e-06/0.5334, allocations: 0 / 0.6025 GB, free: 392 kB / 430.1 MB Notification: Performance of Transformations before backend: time 1.53e-05/0.5334, allocations: 4 kB / 0.6025 GB, free: 388 kB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0031/0.5366, allocations: 0.9873 MB / 0.6034 GB, free: 15.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.5366, allocations: 12.03 kB / 0.6034 GB, free: 15.33 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001054/0.5367, allocations: 70.53 kB / 0.6035 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.5369, allocations: 31.72 kB / 0.6035 GB, free: 15.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003632/0.5373, allocations: 254.6 kB / 0.6038 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/0.5374, allocations: 127.4 kB / 0.6039 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.076e-05/0.5375, allocations: 31.98 kB / 0.6039 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008325/0.5383, allocations: 0.5565 MB / 0.6045 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.5384, allocations: 3.938 kB / 0.6045 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.372e-05/0.5384, allocations: 12 kB / 0.6045 GB, free: 14.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.687e-05/0.5385, allocations: 28.55 kB / 0.6045 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/0.5399, allocations: 1.251 MB / 0.6057 GB, free: 12.87 MB / 446.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.002783/0.5427, allocations: 2.035 MB / 0.6077 GB, free: 10.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006918/0.5434, allocations: 264.1 kB / 0.608 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003501/0.5469, allocations: 3.165 MB / 0.6111 GB, free: 6.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.547, allocations: 47.36 kB / 0.6111 GB, free: 6.676 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 2.344e-06/0.547, allocations: 0 / 0.6111 GB, free: 6.676 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.001989/0.549, allocations: 0.7748 MB / 0.6119 GB, free: 5.855 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.549, allocations: 67.36 kB / 0.6119 GB, free: 5.777 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.5492, allocations: 190.3 kB / 0.6121 GB, free: 5.582 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.5493, allocations: 37.7 kB / 0.6121 GB, free: 5.539 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.5494, allocations: 199.7 kB / 0.6123 GB, free: 5.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.5496, allocations: 153.8 kB / 0.6125 GB, free: 5.188 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/0.5496, allocations: 12 kB / 0.6125 GB, free: 5.176 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.5497, allocations: 334.8 kB / 0.6128 GB, free: 4.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.5499, allocations: 97.23 kB / 0.6129 GB, free: 4.746 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004171/0.5504, allocations: 409.6 kB / 0.6133 GB, free: 4.195 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.5507, allocations: 184.9 kB / 0.6135 GB, free: 4.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.5507, allocations: 4 kB / 0.6135 GB, free: 4.016 MB / 446.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009893/0.5517, allocations: 0.5365 MB / 0.614 GB, free: 3.473 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.5517, allocations: 15.94 kB / 0.614 GB, free: 3.457 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.5517, allocations: 12 kB / 0.614 GB, free: 3.445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.169e-05/0.5518, allocations: 16 kB / 0.614 GB, free: 3.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006874/0.5525, allocations: 195.7 kB / 0.6142 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007164/0.5532, allocations: 1.196 MB / 0.6154 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003469/0.5536, allocations: 31.94 kB / 0.6154 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.183e-05/0.5536, allocations: 55.97 kB / 0.6155 GB, free: 1.91 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002023/0.5539, allocations: 162.1 kB / 0.6156 GB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.309e-05/0.5539, allocations: 43.78 kB / 0.6157 GB, free: 1.699 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.5552, allocations: 0.6467 MB / 0.6163 GB, free: 1.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.5552, allocations: 4 kB / 0.6163 GB, free: 1.016 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.5552, allocations: 4 kB / 0.6163 GB, free: 1.012 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.5552, allocations: 0 / 0.6163 GB, free: 1.012 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.5564, allocations: 0.8241 MB / 0.6171 GB, free: 88 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.5564, allocations: 8.094 kB / 0.6171 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000458/0.5568, allocations: 103.3 kB / 0.6172 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/0.5569, allocations: 4 kB / 0.6172 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.5569, allocations: 11.94 kB / 0.6172 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006134/0.5575, allocations: 1.172 MB / 0.6184 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.5575, allocations: 8.016 kB / 0.6184 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004772/0.558, allocations: 387 kB / 0.6188 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002203/0.5582, allocations: 152.6 kB / 0.6189 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.605e-05/0.5583, allocations: 8 kB / 0.6189 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.5586, allocations: 15.92 kB / 0.6189 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.5586, allocations: 27.92 kB / 0.619 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-05/0.5587, allocations: 19.98 kB / 0.619 GB, free: 14.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001578/0.5588, allocations: 168.5 kB / 0.6191 GB, free: 13.91 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5588, allocations: 0 / 0.6191 GB, free: 13.91 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001563/0.5604, allocations: 483.6 kB / 0.6196 GB, free: 13.44 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (35): * Single equations (assignments): 32 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002547/0.563, allocations: 1.716 MB / 0.6213 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009357/0.5639, allocations: 371.4 kB / 0.6216 GB, free: 11.32 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.5639, allocations: 4 kB / 0.6216 GB, free: 11.32 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000365/0.5643, allocations: 139.9 kB / 0.6218 GB, free: 11.18 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005886/0.5649, allocations: 97.97 kB / 0.6219 GB, free: 11.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006323/0.5712, allocations: 9.057 MB / 0.6307 GB, free: 1.758 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/0.5718, allocations: 0.7698 MB / 0.6315 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008296/0.5726, allocations: 194.8 kB / 0.6316 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/0.5729, allocations: 119.4 kB / 0.6318 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5729, allocations: 0 / 0.6318 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03394/0.6068, allocations: 17.11 MB / 0.6485 GB, free: 15.77 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002688/0.6071, allocations: 259.6 kB / 0.6487 GB, free: 15.43 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.716/3.323, allocations: 0 / 0.6487 GB, free: 15.43 MB / 494.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_MoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_MoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat does not exist to compare? outputFormat=mat