Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 180.9 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.4 MB / 223.1 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009558/0.000956, allocations: 104.5 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002619/0.0002619, allocations: 4 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.263, allocations: 47.57 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.459/1.722, allocations: 0.6385 GB / 1.006 GB, free: 100.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/1.722, allocations: 82.33 kB / 1.006 GB, free: 100.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5061/2.228, allocations: 148.8 MB / 1.151 GB, free: 100.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.485e-06/2.228, allocations: 0 / 1.151 GB, free: 100.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.802e-05/2.228, allocations: 11.22 kB / 1.151 GB, free: 100.4 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.00164/2.23, allocations: 0.6987 MB / 1.152 GB, free: 99.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/2.23, allocations: 10.94 kB / 1.152 GB, free: 99.95 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001749/2.23, allocations: 81.89 kB / 1.152 GB, free: 99.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006724/2.231, allocations: 74.17 kB / 1.152 GB, free: 99.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005576/2.232, allocations: 335 kB / 1.152 GB, free: 99.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/2.232, allocations: 36.19 kB / 1.152 GB, free: 99.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.952e-05/2.232, allocations: 44.45 kB / 1.152 GB, free: 99.67 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000667/2.232, allocations: 455.5 kB / 1.153 GB, free: 99.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/2.232, allocations: 5.016 kB / 1.153 GB, free: 99.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.448e-05/2.232, allocations: 21.92 kB / 1.153 GB, free: 99.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/2.232, allocations: 7.219 kB / 1.153 GB, free: 99.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004558/2.233, allocations: 307.3 kB / 1.153 GB, free: 99.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01045/2.243, allocations: 6.304 MB / 1.159 GB, free: 95.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004146/2.244, allocations: 279.5 kB / 1.159 GB, free: 95.69 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007599/2.251, allocations: 3.447 MB / 1.163 GB, free: 94.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.836e-05/2.252, allocations: 41.39 kB / 1.163 GB, free: 94.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 3.277e-06/2.252, allocations: 0 / 1.163 GB, free: 94.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.009672/2.261, allocations: 2.394 MB / 1.165 GB, free: 93.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/2.261, allocations: 55.12 kB / 1.165 GB, free: 93.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/2.262, allocations: 266.5 kB / 1.165 GB, free: 93.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/2.262, allocations: 37.3 kB / 1.165 GB, free: 93.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.891e-05/2.262, allocations: 224.2 kB / 1.166 GB, free: 93.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.362e-05/2.262, allocations: 162.8 kB / 1.166 GB, free: 93.15 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.939e-05/2.262, allocations: 14.8 kB / 1.166 GB, free: 93.15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.482e-05/2.262, allocations: 353.4 kB / 1.166 GB, free: 92.83 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/2.262, allocations: 147.9 kB / 1.166 GB, free: 92.83 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/2.262, allocations: 277 kB / 1.167 GB, free: 92.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/2.263, allocations: 192.1 kB / 1.167 GB, free: 92.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/2.263, allocations: 3.906 kB / 1.167 GB, free: 92.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009081/2.264, allocations: 0.5845 MB / 1.167 GB, free: 92.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/2.264, allocations: 3.625 kB / 1.167 GB, free: 92.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/2.264, allocations: 3.594 kB / 1.167 GB, free: 92.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008057/2.272, allocations: 0.8613 MB / 1.168 GB, free: 92.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004327/2.272, allocations: 114 kB / 1.168 GB, free: 92.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/2.274, allocations: 2.464 MB / 1.171 GB, free: 90.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005478/2.275, allocations: 42.61 kB / 1.171 GB, free: 90.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.851e-05/2.275, allocations: 27.73 kB / 1.171 GB, free: 90.24 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003231/2.275, allocations: 179 kB / 1.171 GB, free: 90.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.462e-05/2.275, allocations: 38.44 kB / 1.171 GB, free: 90.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/2.276, allocations: 0.854 MB / 1.172 GB, free: 89.99 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/2.277, allocations: 7.531 kB / 1.172 GB, free: 89.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/2.277, allocations: 8.719 kB / 1.172 GB, free: 89.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000808/2.277, allocations: 0.9512 MB / 1.173 GB, free: 89.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/2.279, allocations: 1.494 MB / 1.174 GB, free: 89.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/2.279, allocations: 4.031 kB / 1.174 GB, free: 89.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002906/2.279, allocations: 75.59 kB / 1.174 GB, free: 89.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002948/2.282, allocations: 0.5966 MB / 1.175 GB, free: 89.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/2.282, allocations: 11.12 kB / 1.175 GB, free: 89.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007034/2.283, allocations: 1.292 MB / 1.176 GB, free: 88.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/2.283, allocations: 0.6562 kB / 1.176 GB, free: 88.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/2.284, allocations: 1.23 MB / 1.177 GB, free: 87.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/2.285, allocations: 115.4 kB / 1.177 GB, free: 87.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.042e-05/2.285, allocations: 10.88 kB / 1.177 GB, free: 87.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002771/2.285, allocations: 30.08 kB / 1.178 GB, free: 87.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/2.285, allocations: 33 kB / 1.178 GB, free: 87.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.069e-05/2.285, allocations: 23.06 kB / 1.178 GB, free: 87.81 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001896/2.285, allocations: 209.7 kB / 1.178 GB, free: 87.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.603e-06/2.285, allocations: 3.969 kB / 1.178 GB, free: 87.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001013/2.286, allocations: 244.3 kB / 1.178 GB, free: 87.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * 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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002426/2.289, allocations: 2.177 MB / 1.18 GB, free: 86.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001062/2.29, allocations: 0.681 MB / 1.181 GB, free: 86.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/2.29, allocations: 0 / 1.181 GB, free: 86.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009157/2.291, allocations: 447.9 kB / 1.181 GB, free: 86.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009996/2.292, allocations: 221.9 kB / 1.181 GB, free: 86.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004112/2.296, allocations: 5.278 MB / 1.187 GB, free: 83.24 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/2.296, allocations: 0.8435 MB / 1.187 GB, free: 82.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003263/2.296, allocations: 72.23 kB / 1.187 GB, free: 82.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/2.297, allocations: 159.1 kB / 1.188 GB, free: 82.52 MB / 426.7 MB Notification: Performance of SimCode: time 6.42e-07/2.297, allocations: 4 kB / 1.188 GB, free: 82.51 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/2.327, allocations: 17.38 MB / 1.205 GB, free: 81.32 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/2.327, allocations: 198.1 kB / 1.205 GB, free: 81.09 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.775/5.102, allocations: 0 / 1.205 GB, free: 81.09 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat does not exist to compare? outputFormat=mat