Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.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.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",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.001086/0.001086, allocations: 181.8 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.472/1.472, allocations: 205.4 MB / 223.1 MB, free: 9.109 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.0009093/0.0009092, allocations: 100.1 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002515/0.0002515, allocations: 7.984 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2606, allocations: 47.56 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.18/13.44, allocations: 6.679 GB / 7.046 GB, free: 200 kB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/13.44, allocations: 79.95 kB / 7.047 GB, free: 120 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9725/14.41, allocations: 192.9 MB / 7.235 GB, free: 75.19 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.416e-06/14.41, allocations: 3.094 kB / 7.235 GB, free: 75.19 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.75e-05/14.41, allocations: 3.781 kB / 7.235 GB, free: 75.19 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.008487/14.42, allocations: 1.46 MB / 7.236 GB, free: 74.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/14.42, allocations: 12.06 kB / 7.236 GB, free: 74.5 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001218/14.42, allocations: 52.7 kB / 7.236 GB, free: 74.46 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/14.42, allocations: 23.06 kB / 7.236 GB, free: 74.45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/14.42, allocations: 219.3 kB / 7.237 GB, free: 74.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/14.42, allocations: 7.422 kB / 7.237 GB, free: 74.25 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.977e-05/14.42, allocations: 23.81 kB / 7.237 GB, free: 74.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008529/14.43, allocations: 281 kB / 7.237 GB, free: 74.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/14.43, allocations: 0 / 7.237 GB, free: 74.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/14.43, allocations: 10.06 kB / 7.237 GB, free: 74.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.468e-05/14.43, allocations: 14.02 kB / 7.237 GB, free: 74.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007524/14.43, allocations: 303 kB / 7.237 GB, free: 74.2 MB / 442.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.001541/14.43, allocations: 0.7125 MB / 7.238 GB, free: 73.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007023/14.43, allocations: 256.7 kB / 7.238 GB, free: 73.77 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01389/14.44, allocations: 12.45 MB / 7.25 GB, free: 61.01 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/14.44, allocations: 33.62 kB / 7.25 GB, free: 60.97 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 3.126e-06/14.44, allocations: 0 / 7.25 GB, free: 60.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=36): time 0.003338/14.45, allocations: 0.7027 MB / 7.251 GB, free: 60.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/14.45, allocations: 84.39 kB / 7.251 GB, free: 60.81 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/14.45, allocations: 111.5 kB / 7.251 GB, free: 60.72 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.779e-05/14.45, allocations: 31.83 kB / 7.251 GB, free: 60.69 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.588e-05/14.45, allocations: 110.8 kB / 7.251 GB, free: 60.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/14.45, allocations: 132.9 kB / 7.252 GB, free: 60.52 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/14.45, allocations: 10 kB / 7.252 GB, free: 60.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/14.45, allocations: 325.5 kB / 7.252 GB, free: 60.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003617/14.45, allocations: 131.7 kB / 7.252 GB, free: 60.21 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005337/14.45, allocations: 210.8 kB / 7.252 GB, free: 60.14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004559/14.45, allocations: 156.4 kB / 7.252 GB, free: 60.14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/14.45, allocations: 3.969 kB / 7.252 GB, free: 60.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001128/14.45, allocations: 411.7 kB / 7.253 GB, free: 60.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/14.45, allocations: 3.625 kB / 7.253 GB, free: 60.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/14.45, allocations: 7.281 kB / 7.253 GB, free: 60.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.813e-05/14.45, allocations: 7.297 kB / 7.253 GB, free: 60.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005336/14.45, allocations: 96.45 kB / 7.253 GB, free: 60.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/14.45, allocations: 3.781 kB / 7.253 GB, free: 60.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003676/14.45, allocations: 28.48 kB / 7.253 GB, free: 60.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.351e-05/14.45, allocations: 18.55 kB / 7.253 GB, free: 60.09 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001892/14.45, allocations: 144.2 kB / 7.253 GB, free: 59.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/14.45, allocations: 18.06 kB / 7.253 GB, free: 59.97 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005608/14.45, allocations: 202.7 kB / 7.253 GB, free: 59.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/14.45, allocations: 3.781 kB / 7.253 GB, free: 59.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/14.45, allocations: 3.953 kB / 7.253 GB, free: 59.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/14.45, allocations: 3.609 kB / 7.253 GB, free: 59.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/14.45, allocations: 0.7639 MB / 7.254 GB, free: 59.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/14.45, allocations: 5.219 kB / 7.254 GB, free: 59.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004943/14.45, allocations: 82.58 kB / 7.254 GB, free: 59.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/14.45, allocations: 4.125 kB / 7.254 GB, free: 59.58 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-05/14.45, allocations: 19.47 kB / 7.254 GB, free: 59.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.326e-06/14.45, allocations: 2.688 kB / 7.254 GB, free: 59.58 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/14.45, allocations: 2.656 kB / 7.254 GB, free: 59.58 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/14.46, allocations: 0.793 MB / 7.255 GB, free: 59.21 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/14.46, allocations: 135.3 kB / 7.255 GB, free: 59.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.839e-05/14.46, allocations: 6.781 kB / 7.255 GB, free: 59.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003655/14.46, allocations: 20.03 kB / 7.255 GB, free: 59.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/14.46, allocations: 30.83 kB / 7.255 GB, free: 59.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.365e-05/14.46, allocations: 11 kB / 7.255 GB, free: 59.11 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.015e-05/14.46, allocations: 99.55 kB / 7.255 GB, free: 59.03 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.51e-07/14.46, allocations: 3 kB / 7.255 GB, free: 59.03 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006502/14.46, allocations: 1.106 MB / 7.256 GB, free: 58.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (38): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0126/14.47, allocations: 3.259 MB / 7.259 GB, free: 57.47 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001432/14.48, allocations: 344.6 kB / 7.26 GB, free: 57.46 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/14.48, allocations: 4.656 kB / 7.26 GB, free: 57.46 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006088/14.48, allocations: 180.6 kB / 7.26 GB, free: 57.45 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007387/14.48, allocations: 113.2 kB / 7.26 GB, free: 57.43 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03059/14.51, allocations: 14.81 MB / 7.274 GB, free: 54.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/14.51, allocations: 0.7492 MB / 7.275 GB, free: 53.59 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005701/14.51, allocations: 88.48 kB / 7.275 GB, free: 53.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/14.51, allocations: 70.95 kB / 7.275 GB, free: 53.58 MB / 442.7 MB Notification: Performance of SimCode: time 1.643e-06/14.51, allocations: 3.938 kB / 7.275 GB, free: 53.57 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07274/14.58, allocations: 36.64 MB / 7.311 GB, free: 51.77 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001506/14.58, allocations: 208.9 kB / 7.311 GB, free: 51.53 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.917/17.5, allocations: 3.969 kB / 7.311 GB, free: 51.53 MB / 442.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat does not exist to compare? outputFormat=mat