Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1",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.001064/0.001064, allocations: 176.8 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.985/1.985, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009189/0.0009187, allocations: 74.73 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.644e-05/2.637e-05, allocations: 4 kB / 315.6 MB, free: 22.63 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1158, allocations: 47.58 MB / 363.2 MB, free: 6.988 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.695/1.811, allocations: 0.6381 GB / 0.9927 GB, free: 42.43 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003336/1.811, allocations: 75.95 kB / 0.9928 GB, free: 42.36 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.552/3.363, allocations: 459.4 MB / 1.441 GB, free: 98.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.513e-06/3.363, allocations: 0 / 1.441 GB, free: 98.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.769e-05/3.363, allocations: 7.812 kB / 1.441 GB, free: 98.25 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001618/3.365, allocations: 0.7222 MB / 1.442 GB, free: 97.72 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/3.365, allocations: 7.625 kB / 1.442 GB, free: 97.72 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005451/3.365, allocations: 53.91 kB / 1.442 GB, free: 97.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/3.366, allocations: 281.5 kB / 1.442 GB, free: 97.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/3.366, allocations: 9.75 kB / 1.443 GB, free: 97.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/3.366, allocations: 19.39 kB / 1.443 GB, free: 97.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003159/3.366, allocations: 181 kB / 1.443 GB, free: 97.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004224/3.367, allocations: 292.7 kB / 1.443 GB, free: 97.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/3.367, allocations: 3.656 kB / 1.443 GB, free: 97.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/3.367, allocations: 2.078 kB / 1.443 GB, free: 97.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/3.367, allocations: 7.875 kB / 1.443 GB, free: 97.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01099/3.378, allocations: 5.456 MB / 1.448 GB, free: 93.63 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/3.378, allocations: 157.1 kB / 1.448 GB, free: 93.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/3.378, allocations: 92.08 kB / 1.449 GB, free: 93.51 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008191/3.387, allocations: 3.488 MB / 1.452 GB, free: 91.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.788e-05/3.387, allocations: 38.75 kB / 1.452 GB, free: 91.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 3.837e-06/3.387, allocations: 0 / 1.452 GB, free: 91.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.004226/3.391, allocations: 0.9827 MB / 1.453 GB, free: 90.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/3.391, allocations: 51.41 kB / 1.453 GB, free: 90.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/3.391, allocations: 195.5 kB / 1.453 GB, free: 90.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.299e-05/3.391, allocations: 30.92 kB / 1.453 GB, free: 90.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/3.391, allocations: 189.6 kB / 1.453 GB, free: 90 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/3.392, allocations: 93.84 kB / 1.453 GB, free: 89.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/3.392, allocations: 0 / 1.453 GB, free: 89.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/3.392, allocations: 334.2 kB / 1.454 GB, free: 89.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/3.392, allocations: 80 kB / 1.454 GB, free: 89.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/3.392, allocations: 174.3 kB / 1.454 GB, free: 89.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008992/3.393, allocations: 197 kB / 1.454 GB, free: 89.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/3.393, allocations: 0 / 1.454 GB, free: 89.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001305/3.394, allocations: 436.7 kB / 1.455 GB, free: 88.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/3.394, allocations: 8 kB / 1.455 GB, free: 88.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/3.395, allocations: 0 / 1.455 GB, free: 88.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002791/3.395, allocations: 70.89 kB / 1.455 GB, free: 88.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/3.395, allocations: 71.47 kB / 1.455 GB, free: 88.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/3.397, allocations: 1.878 MB / 1.457 GB, free: 86.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003361/3.398, allocations: 19.91 kB / 1.457 GB, free: 86.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/3.398, allocations: 17.2 kB / 1.457 GB, free: 86.64 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001627/3.398, allocations: 113.4 kB / 1.457 GB, free: 86.53 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001024/3.399, allocations: 339.5 kB / 1.457 GB, free: 86.22 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.352e-05/3.399, allocations: 23.72 kB / 1.457 GB, free: 86.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/3.4, allocations: 471.1 kB / 1.458 GB, free: 85.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/3.4, allocations: 10.77 kB / 1.458 GB, free: 85.79 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/3.4, allocations: 0 / 1.458 GB, free: 85.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009214/3.401, allocations: 0.7033 MB / 1.458 GB, free: 85.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/3.403, allocations: 0.8682 MB / 1.459 GB, free: 84.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/3.403, allocations: 3.938 kB / 1.459 GB, free: 84.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/3.403, allocations: 52.19 kB / 1.459 GB, free: 84.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002767/3.403, allocations: 92.2 kB / 1.459 GB, free: 84.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/3.403, allocations: 4 kB / 1.459 GB, free: 84.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004917/3.404, allocations: 0.6724 MB / 1.46 GB, free: 83.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/3.404, allocations: 0 / 1.46 GB, free: 83.45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009141/3.405, allocations: 0.7163 MB / 1.461 GB, free: 82.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.292e-05/3.405, allocations: 104.2 kB / 1.461 GB, free: 82.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/3.405, allocations: 4 kB / 1.461 GB, free: 82.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/3.405, allocations: 15.58 kB / 1.461 GB, free: 82.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/3.405, allocations: 15.55 kB / 1.461 GB, free: 82.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/3.405, allocations: 14.77 kB / 1.461 GB, free: 82.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001318/3.405, allocations: 149.1 kB / 1.461 GB, free: 82.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/3.405, allocations: 0 / 1.461 GB, free: 82.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001228/3.406, allocations: 194.5 kB / 1.461 GB, free: 82.28 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002268/3.409, allocations: 1.683 MB / 1.463 GB, free: 80.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006447/3.409, allocations: 425.3 kB / 1.463 GB, free: 80.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/3.409, allocations: 1.875 kB / 1.463 GB, free: 80.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002868/3.41, allocations: 201.1 kB / 1.463 GB, free: 80.13 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007518/3.41, allocations: 124.7 kB / 1.463 GB, free: 80.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/3.412, allocations: 0.6722 MB / 1.464 GB, free: 79.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/3.412, allocations: 0.7877 MB / 1.465 GB, free: 78.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001892/3.412, allocations: 47.64 kB / 1.465 GB, free: 78.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/3.412, allocations: 97.98 kB / 1.465 GB, free: 78.52 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/3.412, allocations: 0 / 1.465 GB, free: 78.52 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0338/3.446, allocations: 11.86 MB / 1.477 GB, free: 71.66 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/3.446, allocations: 126.5 kB / 1.477 GB, free: 71.47 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.662/6.108, allocations: 0 / 1.477 GB, free: 71.47 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat