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.001337/0.001337, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.54/1.54, allocations: 205.2 MB / 219.8 MB, free: 14.26 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.0008821/0.0008819, allocations: 86.66 kB / 268 MB, free: 14.09 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.542e-05/3.555e-05, allocations: 4 kB / 322.5 MB, free: 17.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1108, allocations: 47.58 MB / 370.1 MB, free: 1.621 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.585/1.696, allocations: 0.6384 GB / 0.9998 GB, free: 18.69 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/1.696, allocations: 73.39 kB / 0.9999 GB, free: 18.65 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5465/2.243, allocations: 147.9 MB / 1.144 GB, free: 48.33 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.274e-06/2.243, allocations: 3.938 kB / 1.144 GB, free: 48.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.413e-05/2.243, allocations: 12 kB / 1.144 GB, free: 48.31 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.001618/2.245, allocations: 0.6622 MB / 1.145 GB, free: 47.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/2.245, allocations: 12.03 kB / 1.145 GB, free: 47.59 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001453/2.245, allocations: 74.53 kB / 1.145 GB, free: 47.51 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007275/2.246, allocations: 79.41 kB / 1.145 GB, free: 47.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006533/2.246, allocations: 334.3 kB / 1.146 GB, free: 47.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/2.246, allocations: 28.78 kB / 1.146 GB, free: 47.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.044e-05/2.246, allocations: 43.95 kB / 1.146 GB, free: 47 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007188/2.247, allocations: 452.3 kB / 1.146 GB, free: 46.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/2.247, allocations: 3.984 kB / 1.146 GB, free: 46.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.454e-05/2.247, allocations: 20 kB / 1.146 GB, free: 46.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/2.247, allocations: 8 kB / 1.146 GB, free: 46.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004681/2.248, allocations: 294.9 kB / 1.146 GB, free: 46.18 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01095/2.259, allocations: 6.344 MB / 1.153 GB, free: 39.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004896/2.259, allocations: 274.9 kB / 1.153 GB, free: 38.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/2.259, allocations: 154.2 kB / 1.153 GB, free: 38.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007291/2.267, allocations: 3.495 MB / 1.156 GB, free: 35.03 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/2.267, allocations: 50.45 kB / 1.156 GB, free: 34.97 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 3.937e-06/2.267, allocations: 0 / 1.156 GB, free: 34.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.009918/2.277, allocations: 2.264 MB / 1.159 GB, free: 32.65 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/2.277, allocations: 59.36 kB / 1.159 GB, free: 32.58 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/2.277, allocations: 267.2 kB / 1.159 GB, free: 32.31 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.787e-05/2.277, allocations: 33.7 kB / 1.159 GB, free: 32.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/2.277, allocations: 228 kB / 1.159 GB, free: 32.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/2.277, allocations: 161.7 kB / 1.159 GB, free: 31.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.001e-05/2.277, allocations: 8 kB / 1.159 GB, free: 31.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.917e-05/2.278, allocations: 346.8 kB / 1.16 GB, free: 31.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/2.278, allocations: 145.1 kB / 1.16 GB, free: 31.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/2.278, allocations: 275.7 kB / 1.16 GB, free: 31.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/2.278, allocations: 186.2 kB / 1.16 GB, free: 30.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/2.278, allocations: 0 / 1.16 GB, free: 30.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009296/2.279, allocations: 0.5798 MB / 1.161 GB, free: 30.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/2.279, allocations: 12.42 kB / 1.161 GB, free: 30.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/2.279, allocations: 8 kB / 1.161 GB, free: 30.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007743/2.287, allocations: 0.8688 MB / 1.162 GB, free: 29.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004288/2.288, allocations: 107.9 kB / 1.162 GB, free: 29.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00174/2.289, allocations: 2.463 MB / 1.164 GB, free: 26.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005498/2.29, allocations: 35.88 kB / 1.164 GB, free: 26.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.672e-05/2.29, allocations: 20.09 kB / 1.164 GB, free: 26.59 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 () * 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.0001668/2.29, allocations: 140.9 kB / 1.164 GB, free: 26.44 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/2.29, allocations: 39.61 kB / 1.164 GB, free: 26.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/2.291, allocations: 0.8626 MB / 1.165 GB, free: 25.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/2.291, allocations: 4 kB / 1.165 GB, free: 25.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/2.291, allocations: 0 / 1.165 GB, free: 25.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007854/2.292, allocations: 0.9496 MB / 1.166 GB, free: 24.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00194/2.294, allocations: 1.481 MB / 1.168 GB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/2.294, allocations: 0 / 1.168 GB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002972/2.295, allocations: 83.89 kB / 1.168 GB, free: 22.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00268/2.297, allocations: 0.5789 MB / 1.168 GB, free: 22.28 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.919e-05/2.297, allocations: 12 kB / 1.168 GB, free: 22.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006785/2.298, allocations: 1.28 MB / 1.17 GB, free: 20.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/2.298, allocations: 0 / 1.17 GB, free: 20.94 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/2.299, allocations: 1.217 MB / 1.171 GB, free: 19.69 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/2.299, allocations: 124.5 kB / 1.171 GB, free: 19.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.495e-05/2.299, allocations: 8.062 kB / 1.171 GB, free: 19.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003009/2.3, allocations: 31.88 kB / 1.171 GB, free: 19.51 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/2.3, allocations: 27.95 kB / 1.171 GB, free: 19.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-05/2.3, allocations: 15.98 kB / 1.171 GB, free: 19.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002013/2.3, allocations: 211.1 kB / 1.171 GB, free: 19.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/2.3, allocations: 4 kB / 1.171 GB, free: 19.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001114/2.301, allocations: 243.9 kB / 1.171 GB, free: 19.01 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 () * 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.002808/2.304, allocations: 2.176 MB / 1.173 GB, free: 16.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001065/2.305, allocations: 0.679 MB / 1.174 GB, free: 16.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/2.305, allocations: 0 / 1.174 GB, free: 16.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009451/2.306, allocations: 429.2 kB / 1.175 GB, free: 15.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/2.307, allocations: 225.4 kB / 1.175 GB, free: 15.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/2.309, allocations: 1.119 MB / 1.176 GB, free: 14.31 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/2.31, allocations: 0.8441 MB / 1.177 GB, free: 13.44 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003578/2.31, allocations: 76.33 kB / 1.177 GB, free: 13.36 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/2.31, allocations: 155.4 kB / 1.177 GB, free: 13.21 MB / 426.7 MB Notification: Performance of SimCode: time 1.423e-06/2.31, allocations: 0 / 1.177 GB, free: 13.21 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2743/2.584, allocations: 17.74 MB / 1.194 GB, free: 92.01 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/2.585, allocations: 184.1 kB / 1.194 GB, free: 91.79 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.651/5.236, allocations: 1.438 kB / 1.194 GB, free: 91.79 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