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.001968/0.001968, allocations: 180 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.416/1.416, allocations: 205.4 MB / 223.1 MB, free: 9.102 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.0008721/0.000872, allocations: 96.09 kB / 271.5 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002563/0.0002564, allocations: 8 kB / 328.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2301, allocations: 47.57 MB / 375.9 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.272/1.503, allocations: 0.6386 GB / 1.006 GB, free: 146.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/1.503, allocations: 78.86 kB / 1.006 GB, free: 146.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.066/2.569, allocations: 471.8 MB / 1.467 GB, free: 22.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.214e-06/2.569, allocations: 4 kB / 1.467 GB, free: 22.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.865e-05/2.569, allocations: 4 kB / 1.467 GB, free: 22.2 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.001514/2.57, allocations: 0.7503 MB / 1.467 GB, free: 21.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/2.57, allocations: 8.031 kB / 1.467 GB, free: 21.39 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/2.571, allocations: 62.55 kB / 1.467 GB, free: 21.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000495/2.571, allocations: 51.69 kB / 1.467 GB, free: 21.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003903/2.572, allocations: 286.8 kB / 1.468 GB, free: 20.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/2.572, allocations: 20.56 kB / 1.468 GB, free: 20.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/2.572, allocations: 27.95 kB / 1.468 GB, free: 20.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004507/2.572, allocations: 334.5 kB / 1.468 GB, free: 20.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/2.572, allocations: 0 / 1.468 GB, free: 20.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/2.572, allocations: 15.98 kB / 1.468 GB, free: 20.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/2.572, allocations: 11.94 kB / 1.468 GB, free: 20.51 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/2.572, allocations: 210 kB / 1.468 GB, free: 20.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009327/2.582, allocations: 5.473 MB / 1.474 GB, free: 14.33 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/2.582, allocations: 175.2 kB / 1.474 GB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007198/2.589, allocations: 3.444 MB / 1.477 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/2.589, allocations: 38.75 kB / 1.477 GB, free: 10.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 2.905e-06/2.589, allocations: 0 / 1.477 GB, free: 10.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.005422/2.595, allocations: 1.384 MB / 1.479 GB, free: 8.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/2.595, allocations: 55.41 kB / 1.479 GB, free: 8.844 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003195/2.595, allocations: 233.7 kB / 1.479 GB, free: 8.613 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/2.595, allocations: 29.7 kB / 1.479 GB, free: 8.578 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/2.595, allocations: 184.1 kB / 1.479 GB, free: 8.391 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.525e-05/2.595, allocations: 102.6 kB / 1.479 GB, free: 8.289 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.417e-05/2.595, allocations: 4 kB / 1.479 GB, free: 8.285 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/2.595, allocations: 342.8 kB / 1.479 GB, free: 7.941 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/2.596, allocations: 83.97 kB / 1.479 GB, free: 7.859 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/2.596, allocations: 190.7 kB / 1.48 GB, free: 7.633 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/2.596, allocations: 123.9 kB / 1.48 GB, free: 7.512 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/2.596, allocations: 0 / 1.48 GB, free: 7.512 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006848/2.597, allocations: 391.2 kB / 1.48 GB, free: 7.117 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/2.597, allocations: 8 kB / 1.48 GB, free: 7.109 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/2.597, allocations: 0 / 1.48 GB, free: 7.109 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004311/2.601, allocations: 457.5 kB / 1.481 GB, free: 6.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/2.601, allocations: 71.91 kB / 1.481 GB, free: 6.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001509/2.603, allocations: 1.883 MB / 1.483 GB, free: 4.547 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003234/2.603, allocations: 19.98 kB / 1.483 GB, free: 4.527 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/2.603, allocations: 16 kB / 1.483 GB, free: 4.512 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 () * Number of clocked 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.000222/2.604, allocations: 161.8 kB / 1.483 GB, free: 4.344 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.159e-05/2.604, allocations: 23.72 kB / 1.483 GB, free: 4.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007243/2.604, allocations: 498.6 kB / 1.483 GB, free: 3.816 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/2.604, allocations: 15.89 kB / 1.483 GB, free: 3.801 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/2.604, allocations: 4 kB / 1.483 GB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006351/2.605, allocations: 0.713 MB / 1.484 GB, free: 2.996 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/2.606, allocations: 0.9454 MB / 1.485 GB, free: 1.984 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/2.606, allocations: 4 kB / 1.485 GB, free: 1.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/2.607, allocations: 47.92 kB / 1.485 GB, free: 1.934 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001458/2.608, allocations: 304.4 kB / 1.485 GB, free: 1.633 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/2.608, allocations: 8 kB / 1.485 GB, free: 1.625 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003449/2.608, allocations: 0.6382 MB / 1.486 GB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/2.608, allocations: 0 / 1.486 GB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007457/2.609, allocations: 0.7374 MB / 1.487 GB, free: 196 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.34e-05/2.609, allocations: 107 kB / 1.487 GB, free: 72 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/2.609, allocations: 4 kB / 1.487 GB, free: 68 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/2.61, allocations: 15.98 kB / 1.487 GB, free: 52 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/2.61, allocations: 27.94 kB / 1.487 GB, free: 24 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/2.61, allocations: 11.98 kB / 1.487 GB, free: 12 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.2254/2.835, allocations: 181.8 kB / 1.487 GB, free: 103.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.92e-07/2.835, allocations: 0 / 1.487 GB, free: 103.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001251/2.836, allocations: 209.3 kB / 1.487 GB, free: 103.2 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 () * Number of clocked 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002152/2.838, allocations: 1.695 MB / 1.489 GB, free: 102.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007418/2.839, allocations: 453.2 kB / 1.489 GB, free: 102.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/2.839, allocations: 0 / 1.489 GB, free: 102.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005309/2.84, allocations: 243.5 kB / 1.489 GB, free: 102.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007895/2.841, allocations: 163.8 kB / 1.49 GB, free: 102.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/2.843, allocations: 3.86 MB / 1.493 GB, free: 99.85 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/2.844, allocations: 0.7809 MB / 1.494 GB, free: 99.15 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002125/2.844, allocations: 57.2 kB / 1.494 GB, free: 99.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/2.844, allocations: 107.3 kB / 1.494 GB, free: 99.14 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/2.844, allocations: 0 / 1.494 GB, free: 99.14 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02905/2.873, allocations: 14.48 MB / 1.508 GB, free: 98.58 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/2.873, allocations: 196.4 kB / 1.509 GB, free: 98.35 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.592/5.465, allocations: 0 / 1.509 GB, free: 98.35 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