Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001047/0.001047, allocations: 197.8 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.2 MB / 245 MB, free: 7.582 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008908/0.0008908, allocations: 101.2 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002329/0.0002329, allocations: 4 kB / 358 MB, free: 9.465 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2184, allocations: 51.48 MB / 409.5 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.147/1.365, allocations: 0.5375 GB / 0.9374 GB, free: 91.91 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/1.366, allocations: 74.17 kB / 0.9375 GB, free: 91.84 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.329/2.694, allocations: 472.2 MB / 1.399 GB, free: 117.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.845e-06/2.694, allocations: 3.281 kB / 1.399 GB, free: 117.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.299e-05/2.694, allocations: 6.297 kB / 1.399 GB, free: 117.8 MB / 458.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.001836/2.696, allocations: 0.7402 MB / 1.399 GB, free: 117.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/2.696, allocations: 9.125 kB / 1.399 GB, free: 117.3 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001247/2.696, allocations: 67.72 kB / 1.399 GB, free: 117.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006691/2.697, allocations: 59.2 kB / 1.4 GB, free: 117.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000479/2.697, allocations: 277.4 kB / 1.4 GB, free: 117.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/2.698, allocations: 27.2 kB / 1.4 GB, free: 117.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/2.698, allocations: 22.62 kB / 1.4 GB, free: 117.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005084/2.698, allocations: 333.8 kB / 1.4 GB, free: 116.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/2.698, allocations: 1.594 kB / 1.4 GB, free: 116.9 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.5e-05/2.698, allocations: 15.03 kB / 1.4 GB, free: 116.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/2.698, allocations: 6.906 kB / 1.4 GB, free: 116.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000307/2.698, allocations: 210.6 kB / 1.4 GB, free: 116.9 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0103/2.709, allocations: 5.478 MB / 1.406 GB, free: 113.7 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/2.709, allocations: 184.3 kB / 1.406 GB, free: 113.6 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007474/2.717, allocations: 3.446 MB / 1.409 GB, free: 112 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/2.717, allocations: 34.75 kB / 1.409 GB, free: 112 MB / 458.7 MB Notification: Performance of pre-optimization done (n=21): time 2.766e-06/2.717, allocations: 0 / 1.409 GB, free: 112 MB / 458.7 MB Notification: Performance of matching and sorting (n=26): time 0.005391/2.722, allocations: 1.389 MB / 1.411 GB, free: 111.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/2.722, allocations: 54.59 kB / 1.411 GB, free: 111.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/2.722, allocations: 226.2 kB / 1.411 GB, free: 111.4 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/2.722, allocations: 34.73 kB / 1.411 GB, free: 111.4 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.572e-05/2.723, allocations: 188.3 kB / 1.411 GB, free: 111.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.73e-05/2.723, allocations: 94.48 kB / 1.411 GB, free: 111.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.45e-05/2.723, allocations: 9.969 kB / 1.411 GB, free: 111.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.503e-05/2.723, allocations: 344.9 kB / 1.412 GB, free: 110.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/2.723, allocations: 89.72 kB / 1.412 GB, free: 110.9 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/2.723, allocations: 185.4 kB / 1.412 GB, free: 110.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/2.723, allocations: 121.8 kB / 1.412 GB, free: 110.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/2.723, allocations: 0 / 1.412 GB, free: 110.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000671/2.724, allocations: 395.3 kB / 1.412 GB, free: 110.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/2.724, allocations: 7.156 kB / 1.412 GB, free: 110.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/2.724, allocations: 384 / 1.412 GB, free: 110.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004322/2.728, allocations: 456.7 kB / 1.413 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/2.729, allocations: 69.67 kB / 1.413 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/2.73, allocations: 1.878 MB / 1.415 GB, free: 108.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003152/2.73, allocations: 25.39 kB / 1.415 GB, free: 108.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/2.73, allocations: 18.03 kB / 1.415 GB, free: 108.9 MB / 458.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.0001836/2.73, allocations: 152.6 kB / 1.415 GB, free: 108.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.375e-05/2.73, allocations: 31.11 kB / 1.415 GB, free: 108.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006159/2.731, allocations: 497.9 kB / 1.415 GB, free: 108.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/2.731, allocations: 6.344 kB / 1.415 GB, free: 108.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/2.731, allocations: 0 / 1.415 GB, free: 108.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004951/2.732, allocations: 0.7204 MB / 1.416 GB, free: 108.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/2.733, allocations: 0.9467 MB / 1.417 GB, free: 107.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/2.733, allocations: 4.031 kB / 1.417 GB, free: 107.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/2.733, allocations: 45.95 kB / 1.417 GB, free: 107.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001568/2.735, allocations: 314.5 kB / 1.417 GB, free: 107.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/2.735, allocations: 3.688 kB / 1.417 GB, free: 107.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003529/2.735, allocations: 0.6359 MB / 1.418 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/2.735, allocations: 0 / 1.418 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007549/2.736, allocations: 0.7408 MB / 1.419 GB, free: 107.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/2.736, allocations: 106.2 kB / 1.419 GB, free: 107 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.121e-05/2.736, allocations: 7.094 kB / 1.419 GB, free: 107 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/2.736, allocations: 20.28 kB / 1.419 GB, free: 107 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/2.736, allocations: 22.64 kB / 1.419 GB, free: 107 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/2.736, allocations: 11.11 kB / 1.419 GB, free: 107 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001641/2.736, allocations: 183.7 kB / 1.419 GB, free: 106.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.092e-06/2.736, allocations: 3 kB / 1.419 GB, free: 106.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009149/2.737, allocations: 205.9 kB / 1.419 GB, free: 106.9 MB / 458.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.002178/2.74, allocations: 1.704 MB / 1.421 GB, free: 106 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007564/2.74, allocations: 443.5 kB / 1.421 GB, free: 105.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/2.74, allocations: 1.688 kB / 1.421 GB, free: 105.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005337/2.741, allocations: 237.5 kB / 1.422 GB, free: 105.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008069/2.742, allocations: 156.3 kB / 1.422 GB, free: 105.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/2.745, allocations: 3.888 MB / 1.425 GB, free: 103.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/2.745, allocations: 0.7827 MB / 1.426 GB, free: 102.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002459/2.745, allocations: 52.31 kB / 1.426 GB, free: 102.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/2.746, allocations: 106.9 kB / 1.426 GB, free: 102.5 MB / 458.7 MB Notification: Performance of SimCode: time 5.81e-07/2.746, allocations: 0 / 1.426 GB, free: 102.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03067/2.776, allocations: 14.48 MB / 1.441 GB, free: 101.6 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/2.776, allocations: 201.7 kB / 1.441 GB, free: 101.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.45/5.227, allocations: 0 / 1.441 GB, free: 101.4 MB / 458.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat