Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.DryAirNasa,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",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.001024/0.001024, allocations: 182 kB / 17.02 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.58/1.58, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0009808/0.0009807, allocations: 96.16 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00029/0.0002902, allocations: 4 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3101, allocations: 47.57 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.305/1.615, allocations: 0.5888 GB / 0.9559 GB, free: 8.859 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/1.615, allocations: 99.98 kB / 0.956 GB, free: 8.797 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5232/2.138, allocations: 152.4 MB / 1.105 GB, free: 31.69 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.305e-06/2.138, allocations: 0 / 1.105 GB, free: 31.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.886e-05/2.138, allocations: 12 kB / 1.105 GB, free: 31.68 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.0009/2.139, allocations: 0.6206 MB / 1.105 GB, free: 31.01 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/2.139, allocations: 8.031 kB / 1.105 GB, free: 31 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.04e-05/2.139, allocations: 58.55 kB / 1.105 GB, free: 30.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002379/2.14, allocations: 47.61 kB / 1.106 GB, free: 30.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/2.14, allocations: 278.9 kB / 1.106 GB, free: 30.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/2.14, allocations: 16.56 kB / 1.106 GB, free: 30.56 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/2.14, allocations: 24 kB / 1.106 GB, free: 30.54 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003953/2.14, allocations: 319.6 kB / 1.106 GB, free: 30.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/2.14, allocations: 3.953 kB / 1.106 GB, free: 30.19 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/2.141, allocations: 12 kB / 1.106 GB, free: 30.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/2.141, allocations: 8 kB / 1.106 GB, free: 30.17 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002628/2.141, allocations: 205.6 kB / 1.106 GB, free: 29.97 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/2.142, allocations: 1.574 MB / 1.108 GB, free: 28.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/2.142, allocations: 159.1 kB / 1.108 GB, free: 28.08 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.627e-05/2.142, allocations: 4.188 kB / 1.108 GB, free: 28.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/2.142, allocations: 46.73 kB / 1.108 GB, free: 28.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.433e-06/2.142, allocations: 0 / 1.108 GB, free: 28.02 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005138/2.148, allocations: 1.627 MB / 1.11 GB, free: 26.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/2.148, allocations: 59.38 kB / 1.11 GB, free: 26.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/2.148, allocations: 228.1 kB / 1.11 GB, free: 25.97 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/2.148, allocations: 33.7 kB / 1.11 GB, free: 25.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/2.148, allocations: 172.2 kB / 1.11 GB, free: 25.76 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.162e-05/2.148, allocations: 102.6 kB / 1.11 GB, free: 25.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.679e-05/2.148, allocations: 4 kB / 1.11 GB, free: 25.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.325e-05/2.148, allocations: 338.8 kB / 1.111 GB, free: 25.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/2.148, allocations: 87.95 kB / 1.111 GB, free: 25.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/2.148, allocations: 179.8 kB / 1.111 GB, free: 25.01 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/2.149, allocations: 119.9 kB / 1.111 GB, free: 24.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/2.149, allocations: 0 / 1.111 GB, free: 24.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005012/2.149, allocations: 399.2 kB / 1.111 GB, free: 24.49 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/2.149, allocations: 11.95 kB / 1.111 GB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/2.149, allocations: 4 kB / 1.111 GB, free: 24.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001922/2.149, allocations: 65.69 kB / 1.111 GB, free: 24.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/2.15, allocations: 96.3 kB / 1.111 GB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/2.151, allocations: 1.856 MB / 1.113 GB, free: 22.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/2.151, allocations: 15.98 kB / 1.113 GB, free: 22.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-05/2.151, allocations: 40 kB / 1.113 GB, free: 22.24 MB / 426.7 MB 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 () * Number of clocked 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: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001577/2.151, allocations: 165.8 kB / 1.114 GB, free: 22.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.863e-05/2.151, allocations: 27.72 kB / 1.114 GB, free: 22.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008165/2.152, allocations: 440.6 kB / 1.114 GB, free: 21.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/2.152, allocations: 4 kB / 1.114 GB, free: 21.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/2.152, allocations: 0 / 1.114 GB, free: 21.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003935/2.152, allocations: 0.5722 MB / 1.115 GB, free: 20.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007847/2.153, allocations: 0.7136 MB / 1.115 GB, free: 20.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/2.153, allocations: 3.984 kB / 1.115 GB, free: 20.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/2.154, allocations: 71.95 kB / 1.115 GB, free: 20.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.108e-05/2.154, allocations: 24.84 kB / 1.115 GB, free: 20.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/2.154, allocations: 12 kB / 1.115 GB, free: 20.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000598/2.154, allocations: 1.288 MB / 1.117 GB, free: 18.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/2.154, allocations: 0 / 1.117 GB, free: 18.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005053/2.155, allocations: 0.494 MB / 1.117 GB, free: 18.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/2.155, allocations: 100.9 kB / 1.117 GB, free: 17.97 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/2.155, allocations: 11.98 kB / 1.117 GB, free: 17.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/2.155, allocations: 12 kB / 1.117 GB, free: 17.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/2.155, allocations: 27.92 kB / 1.117 GB, free: 17.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.634e-05/2.155, allocations: 31.92 kB / 1.117 GB, free: 17.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001457/2.155, allocations: 190 kB / 1.117 GB, free: 17.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/2.155, allocations: 4.062 kB / 1.117 GB, free: 17.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007584/2.156, allocations: 187.9 kB / 1.118 GB, free: 17.51 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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.00164/2.158, allocations: 1.847 MB / 1.119 GB, free: 15.63 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005594/2.158, allocations: 370.4 kB / 1.12 GB, free: 15.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/2.158, allocations: 0 / 1.12 GB, free: 15.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002167/2.159, allocations: 230.5 kB / 1.12 GB, free: 15.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007255/2.159, allocations: 162.1 kB / 1.12 GB, free: 14.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/2.162, allocations: 3.847 MB / 1.124 GB, free: 10.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/2.162, allocations: 0.7764 MB / 1.125 GB, free: 10.08 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005355/2.163, allocations: 114.9 kB / 1.125 GB, free: 9.973 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002442/2.163, allocations: 127.4 kB / 1.125 GB, free: 9.848 MB / 426.7 MB Notification: Performance of SimCode: time 5.91e-07/2.163, allocations: 3.938 kB / 1.125 GB, free: 9.844 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2588/2.422, allocations: 22.98 MB / 1.147 GB, free: 93.38 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002437/2.422, allocations: 229.3 kB / 1.148 GB, free: 93.13 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.544/4.966, allocations: 0 / 1.148 GB, free: 93.13 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat does not exist to compare? outputFormat=mat