Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000875/0.000875, allocations: 100.7 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001273/0.001274, allocations: 196.5 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 227.4 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2259/0.2259, allocations: 45.91 MB / 344.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002648/0.0002648, allocations: 15.94 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1429, allocations: 63.46 MB / 481.6 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4053/0.5482, allocations: 137 MB / 0.6041 GB, free: 13.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.5498, allocations: 1.242 MB / 0.6053 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.676e-05/0.5498, allocations: 4 kB / 0.6053 GB, free: 11.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.55, allocations: 27.81 kB / 0.6053 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001988/0.552, allocations: 0.74 MB / 0.6061 GB, free: 11.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.947e-06/0.5521, allocations: 0 / 0.6061 GB, free: 11.22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.5522, allocations: 83.66 kB / 0.6061 GB, free: 11.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.303e-05/0.5522, allocations: 0 / 0.6061 GB, free: 11.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.614e-05/0.5523, allocations: 19.94 kB / 0.6062 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.958e-05/0.5523, allocations: 23.91 kB / 0.6062 GB, free: 11.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.053e-06/0.5523, allocations: 4 kB / 0.6062 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002441/0.5548, allocations: 1.575 MB / 0.6077 GB, free: 9.516 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.747e-05/0.5548, allocations: 15.97 kB / 0.6077 GB, free: 9.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.5549, allocations: 33.64 kB / 0.6078 GB, free: 9.461 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008016/0.5557, allocations: 0.5794 MB / 0.6083 GB, free: 8.883 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.5557, allocations: 0 / 0.6083 GB, free: 8.883 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5557, allocations: 0 / 0.6083 GB, free: 8.883 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.5557, allocations: 0 / 0.6083 GB, free: 8.883 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006023/0.5563, allocations: 491 kB / 0.6088 GB, free: 8.355 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.5564, allocations: 12.03 kB / 0.6088 GB, free: 8.344 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.944e-05/0.5564, allocations: 37.73 kB / 0.6089 GB, free: 8.301 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.5564, allocations: 12.64 kB / 0.6089 GB, free: 8.289 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.399e-05/0.5566, allocations: 163 kB / 0.609 GB, free: 8.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.5566, allocations: 11.98 kB / 0.609 GB, free: 8.078 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.5566, allocations: 0 / 0.609 GB, free: 8.078 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.5567, allocations: 73.61 kB / 0.6091 GB, free: 8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.5568, allocations: 4 kB / 0.6091 GB, free: 7.996 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.5568, allocations: 0 / 0.6091 GB, free: 7.996 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/0.5568, allocations: 11.98 kB / 0.6091 GB, free: 7.984 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.117e-05/0.5569, allocations: 51.92 kB / 0.6092 GB, free: 7.934 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003734/0.5573, allocations: 293.8 kB / 0.6095 GB, free: 7.598 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.153e-05/0.5573, allocations: 38.5 kB / 0.6095 GB, free: 7.551 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.518e-05/0.5574, allocations: 16.81 kB / 0.6095 GB, free: 7.531 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002321/0.5576, allocations: 259.4 kB / 0.6098 GB, free: 7.223 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.5576, allocations: 34.56 kB / 0.6098 GB, free: 7.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.5577, allocations: 4 kB / 0.6098 GB, free: 7.176 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001681/0.5578, allocations: 53.69 kB / 0.6098 GB, free: 7.117 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.5579, allocations: 51.41 kB / 0.6099 GB, free: 7.055 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.027e-05/0.5579, allocations: 110 kB / 0.61 GB, free: 6.938 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.558, allocations: 25.7 kB / 0.61 GB, free: 6.906 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/0.558, allocations: 95.89 kB / 0.6101 GB, free: 6.809 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.123e-05/0.558, allocations: 11.81 kB / 0.6101 GB, free: 6.797 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.558, allocations: 8 kB / 0.6101 GB, free: 6.789 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.9e-05/0.5581, allocations: 314.8 kB / 0.6104 GB, free: 6.473 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.126e-05/0.5582, allocations: 8 kB / 0.6104 GB, free: 6.465 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.928e-05/0.5582, allocations: 35.42 kB / 0.6105 GB, free: 6.418 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.802e-05/0.5582, allocations: 8 kB / 0.6105 GB, free: 6.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.5582, allocations: 4 kB / 0.6105 GB, free: 6.406 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001236/0.5584, allocations: 85.5 kB / 0.6106 GB, free: 6.316 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.5584, allocations: 4 kB / 0.6106 GB, free: 6.312 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.5584, allocations: 0 / 0.6106 GB, free: 6.312 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.5584, allocations: 4 kB / 0.6106 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.399e-05/0.5585, allocations: 11.94 kB / 0.6106 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.5585, allocations: 4 kB / 0.6106 GB, free: 6.293 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.62e-05/0.5586, allocations: 15.77 kB / 0.6106 GB, free: 6.281 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.5586, allocations: 4 kB / 0.6106 GB, free: 6.277 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.362e-05/0.5587, allocations: 117.9 kB / 0.6107 GB, free: 6.152 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.5587, allocations: 3.953 kB / 0.6107 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.5588, allocations: 69.11 kB / 0.6108 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.5589, allocations: 0 / 0.6108 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5589, allocations: 0 / 0.6108 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.5589, allocations: 4 kB / 0.6108 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.559, allocations: 157.7 kB / 0.6109 GB, free: 5.871 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.559, allocations: 0 / 0.6109 GB, free: 5.871 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.478e-05/0.5591, allocations: 12.09 kB / 0.611 GB, free: 5.859 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.5591, allocations: 3.938 kB / 0.611 GB, free: 5.855 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.5591, allocations: 7.953 kB / 0.611 GB, free: 5.848 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.5591, allocations: 0 / 0.611 GB, free: 5.848 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5591, allocations: 0 / 0.611 GB, free: 5.848 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.5593, allocations: 147.4 kB / 0.6111 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.611e-05/0.5593, allocations: 85.11 kB / 0.6112 GB, free: 5.586 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.5593, allocations: 4 kB / 0.6112 GB, free: 5.582 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.053e-05/0.5594, allocations: 3.953 kB / 0.6112 GB, free: 5.578 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.63e-05/0.5594, allocations: 3.984 kB / 0.6112 GB, free: 5.574 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.5594, allocations: 4 kB / 0.6112 GB, free: 5.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.57e-05/0.5595, allocations: 79.28 kB / 0.6113 GB, free: 5.492 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5595, allocations: 0 / 0.6113 GB, free: 5.492 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004602/0.5599, allocations: 139.8 kB / 0.6114 GB, free: 5.355 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 4 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009592/0.5609, allocations: 0.8955 MB / 0.6123 GB, free: 4.438 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001044/0.561, allocations: 27.92 kB / 0.6123 GB, free: 4.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.561, allocations: 0 / 0.6123 GB, free: 4.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.768e-05/0.561, allocations: 15.88 kB / 0.6123 GB, free: 4.395 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.5613, allocations: 16.12 kB / 0.6123 GB, free: 4.379 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004772/0.5618, allocations: 250.8 kB / 0.6126 GB, free: 4.094 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.562, allocations: 0.6809 MB / 0.6132 GB, free: 3.387 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.013e-05/0.5621, allocations: 24.75 kB / 0.6133 GB, free: 3.363 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.921e-05/0.5622, allocations: 15.44 kB / 0.6133 GB, free: 3.348 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5622, allocations: 3.938 kB / 0.6133 GB, free: 3.344 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01465/0.5768, allocations: 4.328 MB / 0.6175 GB, free: 15.12 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/0.5771, allocations: 217.6 kB / 0.6177 GB, free: 14.87 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/2.428, allocations: 4 kB / 0.6177 GB, free: 14.87 MB / 462.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat does not exist to compare? outputFormat=mat