Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MoistAir.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009359/0.0009359, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 221.5 MB / 230.3 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008944/0.0008943, allocations: 97.53 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.964e-05/1.967e-05, allocations: 3.984 kB / 337.1 MB, free: 9.949 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1202, allocations: 50.42 MB / 387.5 MB, free: 7.488 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.597/9.717, allocations: 3.336 GB / 3.715 GB, free: 32.78 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/9.717, allocations: 66.72 kB / 3.715 GB, free: 32.75 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4681/10.19, allocations: 48.36 MB / 3.762 GB, free: 136.4 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.615e-06/10.19, allocations: 0 / 3.762 GB, free: 136.4 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.13e-05/10.19, allocations: 4.906 kB / 3.762 GB, free: 136.4 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002081/10.19, allocations: 0.6234 MB / 3.762 GB, free: 136 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/10.19, allocations: 11.66 kB / 3.763 GB, free: 136 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/10.19, allocations: 24.59 kB / 3.763 GB, free: 136 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/10.19, allocations: 211.9 kB / 3.763 GB, free: 135.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/10.19, allocations: 12.06 kB / 3.763 GB, free: 135.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.11e-05/10.19, allocations: 9.312 kB / 3.763 GB, free: 135.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004675/10.19, allocations: 204.7 kB / 3.763 GB, free: 135.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004244/10.19, allocations: 222.3 kB / 3.763 GB, free: 135.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/10.19, allocations: 0 / 3.763 GB, free: 135.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.305e-05/10.19, allocations: 1.719 kB / 3.763 GB, free: 135.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.916e-05/10.19, allocations: 9.531 kB / 3.763 GB, free: 135.8 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.001527/10.19, allocations: 0.6318 MB / 3.764 GB, free: 135.4 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005666/10.19, allocations: 187.8 kB / 3.764 GB, free: 135.4 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/10.19, allocations: 114.2 kB / 3.764 GB, free: 135.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004112/10.19, allocations: 357.6 kB / 3.764 GB, free: 135 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/10.19, allocations: 34.81 kB / 3.764 GB, free: 134.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 2.124e-06/10.19, allocations: 4.875 kB / 3.764 GB, free: 134.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=36): time 0.001759/10.19, allocations: 496.3 kB / 3.765 GB, free: 134.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/10.19, allocations: 85.42 kB / 3.765 GB, free: 134.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/10.19, allocations: 112.5 kB / 3.765 GB, free: 134.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/10.19, allocations: 25.7 kB / 3.765 GB, free: 134.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/10.19, allocations: 110.6 kB / 3.765 GB, free: 134.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/10.19, allocations: 121.2 kB / 3.765 GB, free: 134.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-05/10.19, allocations: 0 / 3.765 GB, free: 134.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/10.19, allocations: 326 kB / 3.766 GB, free: 134.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/10.19, allocations: 107.5 kB / 3.766 GB, free: 134.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002701/10.2, allocations: 175.9 kB / 3.766 GB, free: 134.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00033/10.2, allocations: 144.9 kB / 3.766 GB, free: 134.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/10.2, allocations: 1.094 kB / 3.766 GB, free: 134.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007282/10.2, allocations: 345.1 kB / 3.766 GB, free: 134 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/10.2, allocations: 10.28 kB / 3.766 GB, free: 134 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/10.2, allocations: 1.438 kB / 3.766 GB, free: 134 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/10.2, allocations: 7.062 kB / 3.766 GB, free: 134 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004982/10.2, allocations: 83.81 kB / 3.767 GB, free: 134 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/10.2, allocations: 9.734 kB / 3.767 GB, free: 134 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/10.2, allocations: 27.53 kB / 3.767 GB, free: 134 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.443e-05/10.2, allocations: 14.72 kB / 3.767 GB, free: 134 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 0.0001102/10.2, allocations: 110.3 kB / 3.767 GB, free: 133.9 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006366/10.2, allocations: 317 kB / 3.767 GB, free: 133.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.798e-05/10.2, allocations: 19.98 kB / 3.767 GB, free: 133.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004767/10.2, allocations: 177.7 kB / 3.767 GB, free: 133.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/10.2, allocations: 4.5 kB / 3.767 GB, free: 133.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/10.2, allocations: 1.219 kB / 3.767 GB, free: 133.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/10.2, allocations: 3.75 kB / 3.767 GB, free: 133.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/10.2, allocations: 0.6547 MB / 3.768 GB, free: 133.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/10.2, allocations: 4.406 kB / 3.768 GB, free: 133.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004611/10.2, allocations: 77.14 kB / 3.768 GB, free: 133.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/10.2, allocations: 10.69 kB / 3.768 GB, free: 133.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.522e-05/10.2, allocations: 10.11 kB / 3.768 GB, free: 133.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/10.2, allocations: 5.844 kB / 3.768 GB, free: 133.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.974e-06/10.2, allocations: 2.281 kB / 3.768 GB, free: 133.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/10.2, allocations: 0.7048 MB / 3.769 GB, free: 133.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/10.2, allocations: 119.6 kB / 3.769 GB, free: 133 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.871e-05/10.2, allocations: 9.516 kB / 3.769 GB, free: 133 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003383/10.2, allocations: 15.84 kB / 3.769 GB, free: 133 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/10.2, allocations: 28.16 kB / 3.769 GB, free: 133 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/10.2, allocations: 13.62 kB / 3.769 GB, free: 133 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.464e-05/10.2, allocations: 91.16 kB / 3.769 GB, free: 132.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/10.2, allocations: 0 / 3.769 GB, free: 132.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009284/10.2, allocations: 164.2 kB / 3.769 GB, free: 132.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.00267/10.21, allocations: 2.284 MB / 3.771 GB, free: 131.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000588/10.21, allocations: 277.2 kB / 3.772 GB, free: 131.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/10.21, allocations: 5.625 kB / 3.772 GB, free: 131.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002452/10.21, allocations: 141.3 kB / 3.772 GB, free: 131.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006523/10.21, allocations: 83.62 kB / 3.772 GB, free: 131.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/10.21, allocations: 0.5278 MB / 3.772 GB, free: 131.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/10.21, allocations: 0.7336 MB / 3.773 GB, free: 130.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004446/10.21, allocations: 85.25 kB / 3.773 GB, free: 130.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/10.21, allocations: 63.41 kB / 3.773 GB, free: 130.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.573e-06/10.21, allocations: 288 / 3.773 GB, free: 130.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0356/10.25, allocations: 11.1 MB / 3.784 GB, free: 129.6 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/10.25, allocations: 115.8 kB / 3.784 GB, free: 129.4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.164/12.41, allocations: 3.875 kB / 3.784 GB, free: 129.4 MB / 442.7 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_4_0_0_Modelica_Media_Examples_MoistAir.fmu > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat does not exist to compare? outputFormat=mat