Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",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.001465/0.001465, allocations: 177 kB / 8.699 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.034/2.034, 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.001113/0.001113, allocations: 86.2 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.902e-05/3.903e-05, allocations: 7.984 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1489, allocations: 47.58 MB / 363.2 MB, free: 6.973 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.105/1.254, allocations: 337.6 MB / 0.6843 GB, free: 7.902 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/1.254, allocations: 94.12 kB / 0.6844 GB, free: 7.848 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4774/1.732, allocations: 85.6 MB / 0.768 GB, free: 104.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.472e-06/1.732, allocations: 0 / 0.768 GB, free: 104.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.947e-05/1.732, allocations: 4 kB / 0.768 GB, free: 104.9 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.000709/1.733, allocations: 0.5342 MB / 0.7685 GB, free: 104.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/1.733, allocations: 12.03 kB / 0.7685 GB, free: 104.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002762/1.733, allocations: 35.72 kB / 0.7686 GB, free: 104.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/1.733, allocations: 291.2 kB / 0.7688 GB, free: 103.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/1.733, allocations: 8 kB / 0.7689 GB, free: 103.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/1.733, allocations: 19.95 kB / 0.7689 GB, free: 103.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002863/1.734, allocations: 177.1 kB / 0.769 GB, free: 103.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/1.734, allocations: 248.3 kB / 0.7693 GB, free: 103.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/1.734, allocations: 3.938 kB / 0.7693 GB, free: 103.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.046e-05/1.734, allocations: 4 kB / 0.7693 GB, free: 103.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/1.734, allocations: 8 kB / 0.7693 GB, free: 103.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/1.736, allocations: 1.226 MB / 0.7705 GB, free: 102.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002979/1.736, allocations: 167.1 kB / 0.7706 GB, free: 101.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/1.736, allocations: 85.22 kB / 0.7707 GB, free: 101.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001239/1.736, allocations: 162.4 kB / 0.7709 GB, free: 101.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/1.736, allocations: 42.69 kB / 0.7709 GB, free: 101.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/1.736, allocations: 0 / 0.7709 GB, free: 101.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.001603/1.738, allocations: 0.7803 MB / 0.7717 GB, free: 100.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/1.738, allocations: 55.41 kB / 0.7717 GB, free: 100.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/1.738, allocations: 195.1 kB / 0.7719 GB, free: 100.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/1.738, allocations: 25.7 kB / 0.7719 GB, free: 100.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.817e-05/1.738, allocations: 187.8 kB / 0.7721 GB, free: 100.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/1.738, allocations: 94.59 kB / 0.7722 GB, free: 100.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.145e-05/1.738, allocations: 0 / 0.7722 GB, free: 100.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.581e-05/1.738, allocations: 334.8 kB / 0.7725 GB, free: 99.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.927e-05/1.738, allocations: 68 kB / 0.7726 GB, free: 99.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/1.738, allocations: 168 kB / 0.7728 GB, free: 99.56 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/1.739, allocations: 104.9 kB / 0.7729 GB, free: 99.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.739, allocations: 0 / 0.7729 GB, free: 99.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004946/1.739, allocations: 404.2 kB / 0.7732 GB, free: 99.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/1.739, allocations: 8 kB / 0.7733 GB, free: 99.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/1.739, allocations: 8 kB / 0.7733 GB, free: 99.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001502/1.739, allocations: 37.7 kB / 0.7733 GB, free: 98.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/1.74, allocations: 79.89 kB / 0.7734 GB, free: 98.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/1.741, allocations: 2.462 MB / 0.7758 GB, free: 96.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/1.741, allocations: 16.09 kB / 0.7758 GB, free: 96.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/1.741, allocations: 19.94 kB / 0.7758 GB, free: 96.17 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001531/1.741, allocations: 120.9 kB / 0.7759 GB, free: 96.04 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003862/1.742, allocations: 312 kB / 0.7762 GB, free: 95.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-05/1.742, allocations: 27.67 kB / 0.7763 GB, free: 95.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004341/1.742, allocations: 346.7 kB / 0.7766 GB, free: 95.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/1.742, allocations: 4 kB / 0.7766 GB, free: 95.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/1.742, allocations: 0 / 0.7766 GB, free: 95.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003737/1.743, allocations: 0.5992 MB / 0.7772 GB, free: 94.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00074/1.743, allocations: 0.6852 MB / 0.7778 GB, free: 93.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.743, allocations: 0 / 0.7778 GB, free: 93.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/1.744, allocations: 63.89 kB / 0.7779 GB, free: 93.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.378e-05/1.744, allocations: 20.81 kB / 0.7779 GB, free: 93.76 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/1.744, allocations: 3.984 kB / 0.7779 GB, free: 93.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005133/1.744, allocations: 1.221 MB / 0.7791 GB, free: 92.42 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.744, allocations: 4.188 kB / 0.7791 GB, free: 92.42 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004699/1.745, allocations: 0.5015 MB / 0.7796 GB, free: 91.87 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/1.745, allocations: 96.86 kB / 0.7797 GB, free: 91.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/1.745, allocations: 0 / 0.7797 GB, free: 91.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/1.745, allocations: 16.05 kB / 0.7797 GB, free: 91.74 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/1.745, allocations: 19.91 kB / 0.7797 GB, free: 91.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/1.745, allocations: 15.98 kB / 0.7798 GB, free: 91.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001064/1.745, allocations: 153.6 kB / 0.7799 GB, free: 91.56 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.91e-07/1.745, allocations: 0 / 0.7799 GB, free: 91.56 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004622/1.746, allocations: 107.9 kB / 0.78 GB, free: 91.45 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): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009551/1.747, allocations: 1.237 MB / 0.7812 GB, free: 90.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005139/1.747, allocations: 415.3 kB / 0.7816 GB, free: 89.74 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.747, allocations: 0.8125 kB / 0.7816 GB, free: 89.74 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002115/1.747, allocations: 209.7 kB / 0.7818 GB, free: 89.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007076/1.748, allocations: 116.5 kB / 0.7819 GB, free: 89.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009693/1.749, allocations: 0.528 MB / 0.7824 GB, free: 88.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/1.749, allocations: 0.7675 MB / 0.7832 GB, free: 88.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002403/1.75, allocations: 59.25 kB / 0.7832 GB, free: 87.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/1.75, allocations: 91.41 kB / 0.7833 GB, free: 87.9 MB / 426.7 MB Notification: Performance of SimCode: time 3e-07/1.75, allocations: 0 / 0.7833 GB, free: 87.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03087/1.781, allocations: 8.244 MB / 0.7914 GB, free: 79.65 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/1.781, allocations: 160.6 kB / 0.7915 GB, free: 79.45 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.198/3.979, allocations: 0 / 0.7915 GB, free: 79.45 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat