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.001013/0.001013, allocations: 99.47 kB / 17 MB, free: 6.074 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.000934/0.000934, allocations: 183.1 kB / 17.89 MB, free: 5.656 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.404/1.404, allocations: 223.3 MB / 241.9 MB, free: 316 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2041/0.2041, allocations: 44.23 MB / 337.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000306/0.0003062, allocations: 11.98 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1244, allocations: 61.93 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3929/0.5174, allocations: 138 MB / 0.5954 GB, free: 9.078 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01196/0.5294, allocations: 9.657 MB / 0.6048 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003055/0.5297, allocations: 4 kB / 0.6048 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004147/0.5301, allocations: 55.62 kB / 0.6049 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007704/0.5379, allocations: 2.129 MB / 0.607 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000416/0.5383, allocations: 145.7 kB / 0.6071 GB, free: 13.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000955/0.5393, allocations: 0.6387 MB / 0.6077 GB, free: 12.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.781e-05/0.5394, allocations: 20.41 kB / 0.6077 GB, free: 12.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004521/0.5398, allocations: 211.2 kB / 0.6079 GB, free: 12.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009029/0.5407, allocations: 413.4 kB / 0.6083 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.5408, allocations: 8 kB / 0.6083 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007575/0.5484, allocations: 3.655 MB / 0.6119 GB, free: 8.156 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002066/0.5486, allocations: 99.66 kB / 0.612 GB, free: 8.059 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.5488, allocations: 81.58 kB / 0.6121 GB, free: 7.973 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003099/0.5519, allocations: 1.454 MB / 0.6135 GB, free: 6.516 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.5519, allocations: 0 / 0.6135 GB, free: 6.516 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5519, allocations: 3.938 kB / 0.6135 GB, free: 6.512 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.552, allocations: 0 / 0.6135 GB, free: 6.512 MB / 446.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.002561/0.5545, allocations: 0.9834 MB / 0.6145 GB, free: 5.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.5546, allocations: 12.03 kB / 0.6145 GB, free: 5.469 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001097/0.5547, allocations: 74.52 kB / 0.6146 GB, free: 5.387 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.5549, allocations: 31.72 kB / 0.6146 GB, free: 5.355 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.5552, allocations: 246.6 kB / 0.6148 GB, free: 5.074 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/0.5554, allocations: 127.5 kB / 0.6149 GB, free: 4.926 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/0.5554, allocations: 28 kB / 0.615 GB, free: 4.898 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008471/0.5563, allocations: 0.5642 MB / 0.6155 GB, free: 4.305 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.5563, allocations: 3.938 kB / 0.6155 GB, free: 4.301 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.84e-05/0.5563, allocations: 12 kB / 0.6155 GB, free: 4.289 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-05/0.5564, allocations: 32.48 kB / 0.6156 GB, free: 4.258 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.5578, allocations: 1.251 MB / 0.6168 GB, free: 3.004 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.002415/0.5602, allocations: 1.976 MB / 0.6187 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006688/0.5609, allocations: 264.2 kB / 0.619 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.5611, allocations: 114.1 kB / 0.6191 GB, free: 0.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003309/0.5644, allocations: 3.107 MB / 0.6221 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.5645, allocations: 34.56 kB / 0.6221 GB, free: 12.82 MB / 462.1 MB Notification: Performance of pre-optimization done (n=42): time 2.374e-06/0.5645, allocations: 0 / 0.6221 GB, free: 12.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=44): time 0.001886/0.5664, allocations: 0.7169 MB / 0.6228 GB, free: 12.08 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.5665, allocations: 55.41 kB / 0.6229 GB, free: 12.02 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.5667, allocations: 198.3 kB / 0.6231 GB, free: 11.81 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.5667, allocations: 37.7 kB / 0.6231 GB, free: 11.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.5668, allocations: 191.7 kB / 0.6233 GB, free: 11.58 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.567, allocations: 153.8 kB / 0.6235 GB, free: 11.43 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/0.567, allocations: 11.94 kB / 0.6235 GB, free: 11.41 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.5672, allocations: 338.8 kB / 0.6238 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.5674, allocations: 101.2 kB / 0.6239 GB, free: 10.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003848/0.5678, allocations: 413.5 kB / 0.6243 GB, free: 10.43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.568, allocations: 176.3 kB / 0.6244 GB, free: 10.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.5681, allocations: 4 kB / 0.6244 GB, free: 10.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009072/0.569, allocations: 0.546 MB / 0.625 GB, free: 9.699 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.569, allocations: 8 kB / 0.625 GB, free: 9.691 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/0.569, allocations: 16.16 kB / 0.625 GB, free: 9.676 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.5691, allocations: 16 kB / 0.625 GB, free: 9.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007366/0.5698, allocations: 191.7 kB / 0.6252 GB, free: 9.473 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007628/0.5706, allocations: 1.195 MB / 0.6264 GB, free: 8.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003647/0.571, allocations: 24.06 kB / 0.6264 GB, free: 8.207 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.058e-05/0.5711, allocations: 55.98 kB / 0.6264 GB, free: 8.152 MB / 462.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.0002162/0.5713, allocations: 178 kB / 0.6266 GB, free: 7.969 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.212e-05/0.5714, allocations: 31.72 kB / 0.6266 GB, free: 7.938 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.5726, allocations: 0.6467 MB / 0.6273 GB, free: 7.258 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.5727, allocations: 4 kB / 0.6273 GB, free: 7.254 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.5727, allocations: 0 / 0.6273 GB, free: 7.254 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.5727, allocations: 0 / 0.6273 GB, free: 7.254 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.5737, allocations: 0.8241 MB / 0.6281 GB, free: 6.328 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5737, allocations: 0 / 0.6281 GB, free: 6.328 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004561/0.5742, allocations: 94.81 kB / 0.6282 GB, free: 6.238 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.5742, allocations: 7.938 kB / 0.6282 GB, free: 6.23 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.5742, allocations: 8 kB / 0.6282 GB, free: 6.223 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005647/0.5748, allocations: 1.172 MB / 0.6293 GB, free: 5.004 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.5748, allocations: 3.938 kB / 0.6293 GB, free: 5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004344/0.5753, allocations: 358 kB / 0.6297 GB, free: 4.625 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.5754, allocations: 140.7 kB / 0.6298 GB, free: 4.469 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/0.5755, allocations: 4 kB / 0.6298 GB, free: 4.465 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.5757, allocations: 12 kB / 0.6298 GB, free: 4.453 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.5758, allocations: 23.97 kB / 0.6299 GB, free: 4.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-05/0.5758, allocations: 19.98 kB / 0.6299 GB, free: 4.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001716/0.576, allocations: 168.5 kB / 0.63 GB, free: 4.246 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.673e-06/0.576, allocations: 4 kB / 0.63 GB, free: 4.242 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001477/0.5775, allocations: 491.5 kB / 0.6305 GB, free: 3.762 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.003094/0.5806, allocations: 1.479 MB / 0.632 GB, free: 2.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.5817, allocations: 367.2 kB / 0.6323 GB, free: 1.895 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5817, allocations: 0 / 0.6323 GB, free: 1.895 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004129/0.5821, allocations: 148 kB / 0.6324 GB, free: 1.75 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006768/0.5828, allocations: 93.3 kB / 0.6325 GB, free: 1.656 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/0.5948, allocations: 6.771 MB / 0.6391 GB, free: 10.68 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005733/0.5954, allocations: 0.7659 MB / 0.6399 GB, free: 9.887 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007892/0.5962, allocations: 202.7 kB / 0.6401 GB, free: 9.688 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.5965, allocations: 119.4 kB / 0.6402 GB, free: 9.57 MB / 478.1 MB Notification: Performance of SimCode: time 1.093e-06/0.5965, allocations: 0 / 0.6402 GB, free: 9.57 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03822/0.6347, allocations: 17.22 MB / 0.657 GB, free: 8.574 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/0.635, allocations: 259 kB / 0.6573 GB, free: 8.238 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.771/3.406, allocations: 0 / 0.6573 GB, free: 8.238 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