Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.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.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001465/0.001465, allocations: 99.73 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002307/0.002307, allocations: 193.9 kB / 17.9 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.3 MB / 246 MB, free: 12.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2424/0.2424, allocations: 45.92 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003945, allocations: 8 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1455, allocations: 63.46 MB / 481.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03475/0.1803, allocations: 25.14 MB / 0.4949 GB, free: 12.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01346/0.1938, allocations: 10.24 MB / 0.5049 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002959/0.1941, allocations: 0 / 0.5049 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003707/0.1945, allocations: 55.7 kB / 0.5049 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3797/0.5742, allocations: 6.758 MB / 0.5115 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.5753, allocations: 312.2 kB / 0.5118 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001146/0.5765, allocations: 0.5789 MB / 0.5124 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.463e-05/0.5766, allocations: 19.98 kB / 0.5124 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003904/0.577, allocations: 186.1 kB / 0.5126 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02397/0.6009, allocations: 11.37 MB / 0.5237 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.6011, allocations: 11.09 kB / 0.5237 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02754/0.6287, allocations: 11.46 MB / 0.5349 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.6289, allocations: 89.06 kB / 0.535 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.6291, allocations: 70.14 kB / 0.5351 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01311/0.6422, allocations: 4.267 MB / 0.5392 GB, free: 4.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.6423, allocations: 0 / 0.5392 GB, free: 4.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.568e-06/0.6423, allocations: 0 / 0.5392 GB, free: 4.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.455e-06/0.6423, allocations: 0 / 0.5392 GB, free: 4.031 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.005828/0.6482, allocations: 1.5 MB / 0.5407 GB, free: 2.551 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.629e-05/0.6482, allocations: 8.031 kB / 0.5407 GB, free: 2.543 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.471e-05/0.6484, allocations: 71.78 kB / 0.5408 GB, free: 2.484 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.6485, allocations: 27.72 kB / 0.5408 GB, free: 2.457 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.6489, allocations: 242.5 kB / 0.541 GB, free: 2.203 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.6489, allocations: 26.28 kB / 0.5411 GB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.649, allocations: 23.38 kB / 0.5411 GB, free: 2.176 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007855/0.6497, allocations: 0.5081 MB / 0.5416 GB, free: 1.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.6498, allocations: 7.375 kB / 0.5416 GB, free: 1.766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/0.6498, allocations: 22.52 kB / 0.5416 GB, free: 1.754 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.508e-05/0.6499, allocations: 24.19 kB / 0.5416 GB, free: 1.734 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009315/0.6508, allocations: 0.9131 MB / 0.5425 GB, free: 1.004 MB / 382.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.002266/0.6531, allocations: 1.899 MB / 0.5444 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000779/0.6539, allocations: 272.4 kB / 0.5446 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.654, allocations: 100.8 kB / 0.5447 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02026/0.6743, allocations: 15.75 MB / 0.5601 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005354/0.6749, allocations: 247.9 kB / 0.5603 GB, free: 12.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 2.795e-06/0.6749, allocations: 0 / 0.5603 GB, free: 12.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.00231/0.6772, allocations: 0.7756 MB / 0.5611 GB, free: 11.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001525/0.6774, allocations: 261 kB / 0.5613 GB, free: 11.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.6776, allocations: 212 kB / 0.5615 GB, free: 11.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.6777, allocations: 36.3 kB / 0.5616 GB, free: 11.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.6778, allocations: 195.5 kB / 0.5618 GB, free: 10.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.6779, allocations: 132.5 kB / 0.5619 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/0.678, allocations: 13.38 kB / 0.5619 GB, free: 10.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.6781, allocations: 331.8 kB / 0.5622 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.6783, allocations: 91.75 kB / 0.5623 GB, free: 10.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004834/0.6788, allocations: 368.2 kB / 0.5627 GB, free: 9.969 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003459/0.6791, allocations: 155.7 kB / 0.5628 GB, free: 9.871 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.046e-05/0.6792, allocations: 4 kB / 0.5628 GB, free: 9.867 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001174/0.6803, allocations: 0.4991 MB / 0.5633 GB, free: 9.504 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.6804, allocations: 8 kB / 0.5633 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.6804, allocations: 8 kB / 0.5633 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.03e-05/0.6804, allocations: 16 kB / 0.5633 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006228/0.6811, allocations: 178.9 kB / 0.5635 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007671/0.6818, allocations: 1.188 MB / 0.5647 GB, free: 8.098 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002717/0.6821, allocations: 30.78 kB / 0.5647 GB, free: 8.078 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-05/0.6822, allocations: 44.62 kB / 0.5647 GB, free: 8.039 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * Array equations: 0 * 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.0001856/0.6824, allocations: 173.1 kB / 0.5649 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/0.6826, allocations: 35.89 kB / 0.5649 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.6837, allocations: 484.4 kB / 0.5654 GB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.6837, allocations: 0 / 0.5654 GB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.6837, allocations: 8.766 kB / 0.5654 GB, free: 7.453 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.6837, allocations: 3.984 kB / 0.5654 GB, free: 7.449 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009435/0.6847, allocations: 0.5998 MB / 0.566 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.6847, allocations: 4 kB / 0.566 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00037/0.685, allocations: 86.47 kB / 0.5661 GB, free: 6.805 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.6851, allocations: 0 / 0.5661 GB, free: 6.805 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.6851, allocations: 12.14 kB / 0.5661 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006525/0.6858, allocations: 1.172 MB / 0.5672 GB, free: 5.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.6858, allocations: 7.891 kB / 0.5672 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005566/0.6863, allocations: 316.3 kB / 0.5675 GB, free: 5.289 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.6865, allocations: 121.9 kB / 0.5677 GB, free: 5.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.74e-05/0.6865, allocations: 11.25 kB / 0.5677 GB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.6867, allocations: 17.97 kB / 0.5677 GB, free: 5.141 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.6868, allocations: 24.45 kB / 0.5677 GB, free: 5.121 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/0.6868, allocations: 21.56 kB / 0.5677 GB, free: 5.105 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001701/0.687, allocations: 160 kB / 0.5679 GB, free: 4.969 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.687, allocations: 0 / 0.5679 GB, free: 4.969 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005656/0.6927, allocations: 1.686 MB / 0.5695 GB, free: 3.395 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * 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.01067/0.7034, allocations: 2.887 MB / 0.5724 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001314/0.7047, allocations: 325.6 kB / 0.5727 GB, free: 0.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/0.7047, allocations: 0 / 0.5727 GB, free: 0.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004259/0.7052, allocations: 125.1 kB / 0.5728 GB, free: 408 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006796/0.7059, allocations: 63.89 kB / 0.5728 GB, free: 364 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.534/1.24, allocations: 142.4 MB / 0.7119 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/1.24, allocations: 0.759 MB / 0.7126 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007049/1.241, allocations: 138.6 kB / 0.7127 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002837/1.241, allocations: 95.56 kB / 0.7128 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of SimCode: time 2.475e-06/1.241, allocations: 0 / 0.7128 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1021/1.343, allocations: 50.42 MB / 0.7621 GB, free: 131.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/1.344, allocations: 285.2 kB / 0.7623 GB, free: 131 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.943/5.287, allocations: 0 / 0.7623 GB, free: 131 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat does not exist to compare? outputFormat=mat