Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_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.001915/0.001915, allocations: 97.45 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002444/0.002445, allocations: 174.3 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.828/1.828, allocations: 205.4 MB / 222.7 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4314/0.4314, allocations: 43.55 MB / 314.5 MB, free: 9.027 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008438/0.0008439, allocations: 15.98 kB / 384 MB, free: 8.188 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1664, allocations: 58.85 MB / 442.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4124/0.5789, allocations: 126.9 MB / 0.5564 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.5803, allocations: 1.029 MB / 0.5574 GB, free: 11.13 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.912e-05/0.5804, allocations: 7.938 kB / 0.5574 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.5806, allocations: 22.2 kB / 0.5575 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001811/0.5824, allocations: 0.6416 MB / 0.5581 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.805e-06/0.5824, allocations: 0 / 0.5581 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.721e-05/0.5825, allocations: 25.69 kB / 0.5581 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.926e-05/0.5826, allocations: 0 / 0.5581 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.56e-05/0.5826, allocations: 18.47 kB / 0.5581 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.272e-05/0.5827, allocations: 15.92 kB / 0.5581 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.703e-06/0.5827, allocations: 0 / 0.5581 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002705/0.5854, allocations: 1.528 MB / 0.5596 GB, free: 9.383 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.116e-05/0.5855, allocations: 6.578 kB / 0.5596 GB, free: 9.379 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.854e-05/0.5855, allocations: 33.64 kB / 0.5597 GB, free: 9.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009326/0.5865, allocations: 493.1 kB / 0.5601 GB, free: 8.883 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5865, allocations: 0 / 0.5601 GB, free: 8.883 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5865, allocations: 0 / 0.5601 GB, free: 8.883 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.5865, allocations: 0 / 0.5601 GB, free: 8.883 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007552/0.5873, allocations: 453.2 kB / 0.5606 GB, free: 8.395 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.5873, allocations: 16.03 kB / 0.5606 GB, free: 8.379 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.35e-05/0.5874, allocations: 34.56 kB / 0.5606 GB, free: 8.336 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.5874, allocations: 5.562 kB / 0.5606 GB, free: 8.332 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.5875, allocations: 167 kB / 0.5608 GB, free: 8.129 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.5876, allocations: 1.719 kB / 0.5608 GB, free: 8.129 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.5876, allocations: 4 kB / 0.5608 GB, free: 8.125 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.5878, allocations: 77.59 kB / 0.5609 GB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.5878, allocations: 0 / 0.5609 GB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.5878, allocations: 0 / 0.5609 GB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.632e-05/0.5878, allocations: 11.95 kB / 0.5609 GB, free: 8.031 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.694e-05/0.5879, allocations: 47.97 kB / 0.5609 GB, free: 7.984 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005171/0.5885, allocations: 296.6 kB / 0.5612 GB, free: 7.645 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.5886, allocations: 34.56 kB / 0.5612 GB, free: 7.602 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/0.5888, allocations: 90.66 kB / 0.5613 GB, free: 7.496 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.5888, allocations: 38.56 kB / 0.5614 GB, free: 7.449 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.021e-06/0.5888, allocations: 3.938 kB / 0.5614 GB, free: 7.445 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001984/0.589, allocations: 53.72 kB / 0.5614 GB, free: 7.387 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.5891, allocations: 51.41 kB / 0.5615 GB, free: 7.324 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.172e-05/0.5892, allocations: 97.84 kB / 0.5616 GB, free: 7.219 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.5892, allocations: 29.7 kB / 0.5616 GB, free: 7.184 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6e-05/0.5893, allocations: 99.88 kB / 0.5617 GB, free: 7.082 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.305e-05/0.5893, allocations: 7.891 kB / 0.5617 GB, free: 7.074 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.5893, allocations: 8 kB / 0.5617 GB, free: 7.066 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.5895, allocations: 314.8 kB / 0.562 GB, free: 6.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.804e-05/0.5895, allocations: 4 kB / 0.562 GB, free: 6.746 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.822e-05/0.5895, allocations: 31.42 kB / 0.562 GB, free: 6.703 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.972e-05/0.5896, allocations: 12.38 kB / 0.562 GB, free: 6.691 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.5896, allocations: 4 kB / 0.562 GB, free: 6.688 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001048/0.5897, allocations: 80.3 kB / 0.5621 GB, free: 6.605 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.5897, allocations: 4 kB / 0.5621 GB, free: 6.602 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.5897, allocations: 0 / 0.5621 GB, free: 6.602 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.5897, allocations: 4 kB / 0.5621 GB, free: 6.598 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.878e-05/0.5898, allocations: 8 kB / 0.5621 GB, free: 6.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.5898, allocations: 0 / 0.5621 GB, free: 6.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.192e-05/0.5899, allocations: 20.64 kB / 0.5622 GB, free: 6.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.5899, allocations: 5.25 kB / 0.5622 GB, free: 6.566 MB / 430.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 (6): * Single equations (assignments): 6 * 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 8.836e-05/0.59, allocations: 121.9 kB / 0.5623 GB, free: 6.438 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.59, allocations: 3.953 kB / 0.5623 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/0.5902, allocations: 60.3 kB / 0.5623 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.5902, allocations: 4 kB / 0.5623 GB, free: 6.371 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.5902, allocations: 0 / 0.5623 GB, free: 6.371 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.5902, allocations: 0 / 0.5623 GB, free: 6.371 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.5904, allocations: 161.7 kB / 0.5625 GB, free: 6.164 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5904, allocations: 1.688 kB / 0.5625 GB, free: 6.164 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.54e-05/0.5904, allocations: 4 kB / 0.5625 GB, free: 6.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.5905, allocations: 3.953 kB / 0.5625 GB, free: 6.156 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.5905, allocations: 3.984 kB / 0.5625 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.5905, allocations: 0 / 0.5625 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5905, allocations: 4 kB / 0.5625 GB, free: 6.148 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.5906, allocations: 147.5 kB / 0.5627 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.839e-05/0.5907, allocations: 85.02 kB / 0.5627 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.5907, allocations: 7.891 kB / 0.5627 GB, free: 5.879 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.368e-05/0.5907, allocations: 0 / 0.5627 GB, free: 5.879 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.966e-05/0.5908, allocations: 5.406 kB / 0.5628 GB, free: 5.875 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.5908, allocations: 3.984 kB / 0.5628 GB, free: 5.871 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.67e-05/0.5908, allocations: 79.28 kB / 0.5628 GB, free: 5.793 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5908, allocations: 0 / 0.5628 GB, free: 5.793 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004201/0.5913, allocations: 99.86 kB / 0.5629 GB, free: 5.695 MB / 430.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 (3): * Single equations (assignments): 3 * 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.0008347/0.5921, allocations: 0.8069 MB / 0.5637 GB, free: 4.863 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000113/0.5922, allocations: 23.97 kB / 0.5637 GB, free: 4.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.5922, allocations: 0 / 0.5637 GB, free: 4.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.228e-05/0.5923, allocations: 11.94 kB / 0.5637 GB, free: 4.828 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.5925, allocations: 11.94 kB / 0.5638 GB, free: 4.816 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006247/0.5932, allocations: 240.4 kB / 0.564 GB, free: 4.551 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.5936, allocations: 0.6848 MB / 0.5647 GB, free: 3.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.382e-05/0.5937, allocations: 8 kB / 0.5647 GB, free: 3.832 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.726e-05/0.5937, allocations: 15.42 kB / 0.5647 GB, free: 3.82 MB / 430.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5937, allocations: 0 / 0.5647 GB, free: 3.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0148/0.6085, allocations: 3.525 MB / 0.5681 GB, free: 388 kB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/0.6088, allocations: 166.1 kB / 0.5683 GB, free: 148 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/2.37, allocations: 0 / 0.5683 GB, free: 148 kB / 430.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat does not exist to compare? outputFormat=mat