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.001495/0.001495, allocations: 172.8 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.528/1.528, allocations: 205.2 MB / 219.8 MB, free: 14.21 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.0009972/0.0009973, allocations: 90.7 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.753e-05/2.774e-05, allocations: 4 kB / 322.5 MB, free: 17.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1054, allocations: 47.57 MB / 370.1 MB, free: 1.625 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.505/1.611, allocations: 0.6385 GB / 0.9999 GB, free: 31.17 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/1.611, allocations: 79.95 kB / 1 GB, free: 31.09 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.416/3.027, allocations: 471.3 MB / 1.46 GB, free: 79.22 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.374e-06/3.027, allocations: 0 / 1.46 GB, free: 79.22 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.889e-05/3.027, allocations: 8 kB / 1.46 GB, free: 79.21 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.001168/3.028, allocations: 0.7104 MB / 1.461 GB, free: 78.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/3.029, allocations: 16.02 kB / 1.461 GB, free: 78.45 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.683e-05/3.029, allocations: 62.55 kB / 1.461 GB, free: 78.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004163/3.029, allocations: 55.59 kB / 1.461 GB, free: 78.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/3.029, allocations: 280.1 kB / 1.461 GB, free: 78.01 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/3.029, allocations: 24.56 kB / 1.461 GB, free: 77.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/3.029, allocations: 27.95 kB / 1.461 GB, free: 77.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004322/3.03, allocations: 326.6 kB / 1.462 GB, free: 77.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/3.03, allocations: 3.656 kB / 1.462 GB, free: 77.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/3.03, allocations: 16 kB / 1.462 GB, free: 77.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/3.03, allocations: 8 kB / 1.462 GB, free: 77.58 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000266/3.03, allocations: 202 kB / 1.462 GB, free: 77.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008673/3.039, allocations: 5.53 MB / 1.467 GB, free: 71.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/3.039, allocations: 171.2 kB / 1.467 GB, free: 71.17 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/3.039, allocations: 93.16 kB / 1.468 GB, free: 71.08 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007123/3.046, allocations: 3.489 MB / 1.471 GB, free: 67.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/3.046, allocations: 34.75 kB / 1.471 GB, free: 67.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 4.638e-06/3.046, allocations: 0 / 1.471 GB, free: 67.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.005279/3.052, allocations: 1.266 MB / 1.472 GB, free: 65.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/3.052, allocations: 63.39 kB / 1.472 GB, free: 65.86 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/3.052, allocations: 226.9 kB / 1.472 GB, free: 65.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/3.052, allocations: 29.7 kB / 1.473 GB, free: 65.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.258e-05/3.052, allocations: 187.9 kB / 1.473 GB, free: 65.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.686e-05/3.052, allocations: 94.66 kB / 1.473 GB, free: 65.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.195e-05/3.052, allocations: 4 kB / 1.473 GB, free: 65.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.284e-05/3.052, allocations: 342.8 kB / 1.473 GB, free: 64.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/3.053, allocations: 83.98 kB / 1.473 GB, free: 64.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/3.053, allocations: 194.7 kB / 1.473 GB, free: 64.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/3.053, allocations: 117 kB / 1.473 GB, free: 64.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/3.053, allocations: 4 kB / 1.473 GB, free: 64.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005458/3.053, allocations: 390.7 kB / 1.474 GB, free: 64.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/3.053, allocations: 7.938 kB / 1.474 GB, free: 64.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/3.053, allocations: 4 kB / 1.474 GB, free: 64.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003952/3.057, allocations: 449.6 kB / 1.474 GB, free: 63.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/3.058, allocations: 79.8 kB / 1.474 GB, free: 63.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/3.059, allocations: 1.871 MB / 1.476 GB, free: 61.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/3.059, allocations: 23.89 kB / 1.476 GB, free: 61.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/3.059, allocations: 12 kB / 1.476 GB, free: 61.55 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 8.794e-05/3.059, allocations: 125 kB / 1.476 GB, free: 61.42 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.028e-05/3.059, allocations: 27.67 kB / 1.476 GB, free: 61.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006224/3.06, allocations: 492.7 kB / 1.477 GB, free: 60.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/3.06, allocations: 7.984 kB / 1.477 GB, free: 60.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/3.06, allocations: 4 kB / 1.477 GB, free: 60.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000442/3.06, allocations: 0.713 MB / 1.478 GB, free: 60.08 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009677/3.061, allocations: 0.9536 MB / 1.478 GB, free: 59.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/3.061, allocations: 0 / 1.478 GB, free: 59.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/3.061, allocations: 43.92 kB / 1.479 GB, free: 59.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001358/3.063, allocations: 299.9 kB / 1.479 GB, free: 58.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/3.063, allocations: 8 kB / 1.479 GB, free: 58.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003238/3.063, allocations: 0.646 MB / 1.479 GB, free: 58.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/3.063, allocations: 0 / 1.479 GB, free: 58.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006589/3.064, allocations: 0.7265 MB / 1.48 GB, free: 57.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.571e-05/3.064, allocations: 108.8 kB / 1.48 GB, free: 57.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/3.064, allocations: 7.875 kB / 1.48 GB, free: 57.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/3.064, allocations: 15.91 kB / 1.48 GB, free: 57.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/3.064, allocations: 15.97 kB / 1.48 GB, free: 57.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/3.064, allocations: 12.06 kB / 1.48 GB, free: 57.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001479/3.064, allocations: 187.1 kB / 1.481 GB, free: 56.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/3.064, allocations: 0 / 1.481 GB, free: 56.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009347/3.065, allocations: 199.9 kB / 1.481 GB, free: 56.74 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001859/3.067, allocations: 1.704 MB / 1.482 GB, free: 55.01 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006452/3.068, allocations: 442.7 kB / 1.483 GB, free: 54.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/3.068, allocations: 0 / 1.483 GB, free: 54.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004829/3.068, allocations: 240.2 kB / 1.483 GB, free: 54.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008226/3.069, allocations: 158 kB / 1.483 GB, free: 54.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/3.07, allocations: 0.6939 MB / 1.484 GB, free: 53.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/3.071, allocations: 0.7841 MB / 1.485 GB, free: 52.65 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002008/3.071, allocations: 58.5 kB / 1.485 GB, free: 52.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/3.071, allocations: 99.41 kB / 1.485 GB, free: 52.5 MB / 426.7 MB Notification: Performance of SimCode: time 6.51e-07/3.071, allocations: 3.938 kB / 1.485 GB, free: 52.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/3.099, allocations: 14.91 MB / 1.499 GB, free: 37.63 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/3.099, allocations: 176.9 kB / 1.499 GB, free: 37.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.451/5.55, allocations: 0 / 1.499 GB, free: 37.4 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