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.001065/0.001065, allocations: 96.78 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001242/0.001242, allocations: 208.2 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.3 MB / 245.9 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.23/0.23, allocations: 45.92 MB / 344 MB, free: 12.28 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003787, allocations: 8 kB / 418.1 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1666, allocations: 63.46 MB / 481.5 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3724/0.5391, allocations: 127 MB / 0.5942 GB, free: 6.207 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.5408, allocations: 1.332 MB / 0.5955 GB, free: 4.875 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.532e-05/0.5409, allocations: 0 / 0.5955 GB, free: 4.875 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.5411, allocations: 35.88 kB / 0.5956 GB, free: 4.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001915/0.543, allocations: 0.7471 MB / 0.5963 GB, free: 4.094 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.406e-06/0.543, allocations: 4 kB / 0.5963 GB, free: 4.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.07e-05/0.5431, allocations: 35.94 kB / 0.5963 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.527e-05/0.5431, allocations: 3.984 kB / 0.5964 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.092e-05/0.5432, allocations: 11.94 kB / 0.5964 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.397e-05/0.5432, allocations: 15.92 kB / 0.5964 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.051e-06/0.5432, allocations: 0 / 0.5964 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002535/0.5458, allocations: 1.658 MB / 0.598 GB, free: 2.363 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.891e-05/0.5458, allocations: 15.97 kB / 0.598 GB, free: 2.348 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.5459, allocations: 37.58 kB / 0.598 GB, free: 2.305 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009072/0.5468, allocations: 0.5709 MB / 0.5986 GB, free: 1.746 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.5468, allocations: 3.938 kB / 0.5986 GB, free: 1.742 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5468, allocations: 0 / 0.5986 GB, free: 1.742 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.5468, allocations: 0 / 0.5986 GB, free: 1.742 MB / 430.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.0005832/0.5474, allocations: 483.1 kB / 0.5991 GB, free: 1.223 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.5474, allocations: 12.03 kB / 0.5991 GB, free: 1.211 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.201e-05/0.5475, allocations: 30.56 kB / 0.5991 GB, free: 1.172 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.155e-05/0.5475, allocations: 21.5 kB / 0.5991 GB, free: 1.152 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.078e-05/0.5476, allocations: 163 kB / 0.5993 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.5476, allocations: 4 kB / 0.5993 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.5476, allocations: 4 kB / 0.5993 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.5478, allocations: 77.59 kB / 0.5994 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.5478, allocations: 0 / 0.5994 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.5478, allocations: 0 / 0.5994 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.5478, allocations: 8 kB / 0.5994 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.5479, allocations: 57.55 kB / 0.5994 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003821/0.5483, allocations: 296.8 kB / 0.5997 GB, free: 472 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.118e-05/0.5484, allocations: 38.5 kB / 0.5997 GB, free: 424 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002191/0.5486, allocations: 259.4 kB / 0.6 GB, free: 108 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.5487, allocations: 36.55 kB / 0.6 GB, free: 64 kB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.5487, allocations: 0 / 0.6 GB, free: 64 kB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001586/0.5488, allocations: 53.69 kB / 0.6001 GB, free: 4 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.5489, allocations: 63.34 kB / 0.6001 GB, free: 15.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.845e-05/0.549, allocations: 101.8 kB / 0.6002 GB, free: 15.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.549, allocations: 25.7 kB / 0.6003 GB, free: 15.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/0.549, allocations: 99.89 kB / 0.6004 GB, free: 15.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.134e-05/0.5491, allocations: 11.75 kB / 0.6004 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.5491, allocations: 112 / 0.6004 GB, free: 15.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.317e-05/0.5492, allocations: 322.8 kB / 0.6007 GB, free: 15.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.17e-05/0.5492, allocations: 12 kB / 0.6007 GB, free: 15.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.621e-05/0.5492, allocations: 36.05 kB / 0.6007 GB, free: 15.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.942e-05/0.5493, allocations: 12 kB / 0.6007 GB, free: 15.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5493, allocations: 0 / 0.6007 GB, free: 15.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001006/0.5494, allocations: 73.55 kB / 0.6008 GB, free: 15.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.5494, allocations: 12.05 kB / 0.6008 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.5494, allocations: 4 kB / 0.6008 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.5494, allocations: 0 / 0.6008 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.259e-05/0.5495, allocations: 15.98 kB / 0.6008 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.5495, allocations: 0 / 0.6008 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.548e-05/0.5495, allocations: 11.84 kB / 0.6008 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.5496, allocations: 0 / 0.6008 GB, free: 15.16 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 6.234e-05/0.5496, allocations: 113.8 kB / 0.601 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.5497, allocations: 4 kB / 0.601 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.5498, allocations: 77.2 kB / 0.601 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.5498, allocations: 0 / 0.601 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.5498, allocations: 4 kB / 0.601 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.5498, allocations: 0 / 0.601 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.55, allocations: 161.7 kB / 0.6012 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.55, allocations: 0 / 0.6012 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.035e-05/0.55, allocations: 8 kB / 0.6012 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.55, allocations: 0.875 kB / 0.6012 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.55, allocations: 4 kB / 0.6012 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.5501, allocations: 3.953 kB / 0.6012 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.5501, allocations: 0 / 0.6012 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.5502, allocations: 155.8 kB / 0.6014 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.94e-05/0.5502, allocations: 81.14 kB / 0.6014 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.5502, allocations: 0 / 0.6014 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.337e-05/0.5503, allocations: 12 kB / 0.6014 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.5503, allocations: 7.891 kB / 0.6015 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.5503, allocations: 8 kB / 0.6015 GB, free: 14.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.8e-05/0.5503, allocations: 79.27 kB / 0.6015 GB, free: 14.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5504, allocations: 0 / 0.6015 GB, free: 14.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004281/0.5508, allocations: 139.9 kB / 0.6017 GB, free: 14.22 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.0008729/0.5517, allocations: 0.8912 MB / 0.6025 GB, free: 13.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.48e-05/0.5518, allocations: 27.98 kB / 0.6026 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5518, allocations: 0 / 0.6026 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.774e-05/0.5518, allocations: 11.94 kB / 0.6026 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.552, allocations: 15.94 kB / 0.6026 GB, free: 13.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004829/0.5525, allocations: 258.9 kB / 0.6028 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.5527, allocations: 0.6809 MB / 0.6035 GB, free: 12.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.941e-05/0.5528, allocations: 27.91 kB / 0.6035 GB, free: 12.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.5528, allocations: 15.44 kB / 0.6035 GB, free: 12.21 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.5528, allocations: 0 / 0.6035 GB, free: 12.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01555/0.5684, allocations: 4.322 MB / 0.6078 GB, free: 7.992 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003626/0.5688, allocations: 216.7 kB / 0.608 GB, free: 7.738 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.349, allocations: 0 / 0.608 GB, free: 7.738 MB / 446.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