Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 221.5 MB / 230.3 MB, free: 7.516 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009351/0.0009352, allocations: 98.05 kB / 281.2 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.34e-05/2.34e-05, allocations: 4 kB / 337.1 MB, free: 9.934 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1243, allocations: 50.42 MB / 387.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.751/1.875, allocations: 0.536 GB / 0.9145 GB, free: 152.3 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/1.875, allocations: 75.83 kB / 0.9146 GB, free: 152.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.271/3.146, allocations: 459.8 MB / 1.364 GB, free: 50.65 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.733e-06/3.146, allocations: 0 / 1.364 GB, free: 50.65 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.098e-05/3.146, allocations: 4 kB / 1.364 GB, free: 50.65 MB / 442.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.00128/3.148, allocations: 0.7209 MB / 1.364 GB, free: 49.89 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/3.148, allocations: 8.031 kB / 1.364 GB, free: 49.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004838/3.148, allocations: 55.59 kB / 1.364 GB, free: 49.83 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/3.149, allocations: 290.4 kB / 1.365 GB, free: 49.51 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/3.149, allocations: 8 kB / 1.365 GB, free: 49.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.174e-05/3.149, allocations: 26.89 kB / 1.365 GB, free: 49.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003052/3.149, allocations: 173.1 kB / 1.365 GB, free: 49.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000392/3.149, allocations: 281.4 kB / 1.365 GB, free: 48.99 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/3.149, allocations: 7.984 kB / 1.365 GB, free: 48.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.349e-05/3.15, allocations: 11.38 kB / 1.365 GB, free: 48.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/3.15, allocations: 8 kB / 1.365 GB, free: 48.97 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009803/3.159, allocations: 5.444 MB / 1.37 GB, free: 43.06 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/3.16, allocations: 164.7 kB / 1.371 GB, free: 42.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/3.16, allocations: 77.23 kB / 1.371 GB, free: 42.81 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007282/3.167, allocations: 3.494 MB / 1.374 GB, free: 39.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/3.167, allocations: 34.75 kB / 1.374 GB, free: 38.99 MB / 442.7 MB Notification: Performance of pre-optimization done (n=21): time 3.567e-06/3.167, allocations: 0 / 1.374 GB, free: 38.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=26): time 0.003418/3.171, allocations: 0.9858 MB / 1.375 GB, free: 37.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/3.171, allocations: 59.39 kB / 1.375 GB, free: 37.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/3.171, allocations: 191.2 kB / 1.375 GB, free: 37.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/3.171, allocations: 25.7 kB / 1.375 GB, free: 37.65 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.85e-05/3.171, allocations: 188.2 kB / 1.375 GB, free: 37.46 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.773e-05/3.171, allocations: 98.53 kB / 1.376 GB, free: 37.36 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.232e-05/3.171, allocations: 0 / 1.376 GB, free: 37.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.464e-05/3.171, allocations: 334.8 kB / 1.376 GB, free: 37.03 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/3.171, allocations: 90.41 kB / 1.376 GB, free: 36.94 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/3.171, allocations: 175.1 kB / 1.376 GB, free: 36.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007175/3.172, allocations: 185.6 kB / 1.376 GB, free: 36.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/3.172, allocations: 3.938 kB / 1.376 GB, free: 36.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001081/3.173, allocations: 439.2 kB / 1.377 GB, free: 36.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/3.173, allocations: 8.781 kB / 1.377 GB, free: 36.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/3.173, allocations: 4 kB / 1.377 GB, free: 36.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002448/3.173, allocations: 62 kB / 1.377 GB, free: 36.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/3.174, allocations: 71.91 kB / 1.377 GB, free: 35.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/3.175, allocations: 1.878 MB / 1.379 GB, free: 33.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/3.175, allocations: 23.84 kB / 1.379 GB, free: 33.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/3.175, allocations: 12 kB / 1.379 GB, free: 33.91 MB / 442.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 9.273e-05/3.176, allocations: 114.9 kB / 1.379 GB, free: 33.79 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008646/3.176, allocations: 333.8 kB / 1.379 GB, free: 33.45 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/3.177, allocations: 31.67 kB / 1.379 GB, free: 33.42 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008451/3.177, allocations: 473 kB / 1.38 GB, free: 32.95 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/3.177, allocations: 4 kB / 1.38 GB, free: 32.95 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-06/3.177, allocations: 0 / 1.38 GB, free: 32.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007705/3.178, allocations: 0.6959 MB / 1.38 GB, free: 32.16 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/3.179, allocations: 0.8877 MB / 1.381 GB, free: 31.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/3.18, allocations: 0 / 1.381 GB, free: 31.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/3.18, allocations: 51.94 kB / 1.381 GB, free: 31.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002371/3.18, allocations: 88.72 kB / 1.381 GB, free: 31.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/3.18, allocations: 4 kB / 1.381 GB, free: 31.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004952/3.18, allocations: 0.6789 MB / 1.382 GB, free: 30.38 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/3.18, allocations: 7.984 kB / 1.382 GB, free: 30.38 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009381/3.181, allocations: 0.7054 MB / 1.383 GB, free: 29.64 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-05/3.182, allocations: 105 kB / 1.383 GB, free: 29.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.862e-05/3.182, allocations: 7.938 kB / 1.383 GB, free: 29.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/3.182, allocations: 8 kB / 1.383 GB, free: 29.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/3.182, allocations: 15.97 kB / 1.383 GB, free: 29.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/3.182, allocations: 12 kB / 1.383 GB, free: 29.48 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001351/3.182, allocations: 153.6 kB / 1.383 GB, free: 29.33 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.4e-07/3.182, allocations: 0 / 1.383 GB, free: 29.33 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001298/3.183, allocations: 199.8 kB / 1.383 GB, free: 29.13 MB / 442.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.002216/3.186, allocations: 1.697 MB / 1.385 GB, free: 27.44 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006188/3.186, allocations: 414.2 kB / 1.385 GB, free: 27.03 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/3.186, allocations: 128 / 1.385 GB, free: 27.03 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000325/3.186, allocations: 203.8 kB / 1.385 GB, free: 26.83 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007395/3.187, allocations: 134.7 kB / 1.386 GB, free: 26.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/3.188, allocations: 0.666 MB / 1.386 GB, free: 26.01 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/3.189, allocations: 0.7915 MB / 1.387 GB, free: 25.19 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001864/3.189, allocations: 43.27 kB / 1.387 GB, free: 25.15 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/3.189, allocations: 99.41 kB / 1.387 GB, free: 25.05 MB / 442.7 MB Notification: Performance of SimCode: time 2.71e-07/3.189, allocations: 0 / 1.387 GB, free: 25.05 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0319/3.221, allocations: 11.85 MB / 1.399 GB, free: 13.3 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001497/3.221, allocations: 134.3 kB / 1.399 GB, free: 13.11 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.654/5.876, allocations: 0 / 1.399 GB, free: 13.11 MB / 442.7 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat