Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.MoistAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",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.001538/0.001538, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.611/1.611, allocations: 221.3 MB / 235.5 MB, free: 2.91 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.001083/0.001082, allocations: 97.78 kB / 286.5 MB, free: 172 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.374e-05/3.384e-05, allocations: 0 / 343.9 MB, free: 4.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1283, allocations: 50.42 MB / 394.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.62/18.75, allocations: 6.123 GB / 6.508 GB, free: 43.79 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/18.75, allocations: 81.62 kB / 6.508 GB, free: 43.74 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.862/21.61, allocations: 0.6443 GB / 7.152 GB, free: 27.54 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.252e-06/21.61, allocations: 0 / 7.152 GB, free: 27.54 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.639e-05/21.61, allocations: 17.06 kB / 7.152 GB, free: 27.54 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.009479/21.62, allocations: 2.331 MB / 7.155 GB, free: 26.17 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/21.62, allocations: 11.62 kB / 7.155 GB, free: 26.17 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001311/21.62, allocations: 102.2 kB / 7.155 GB, free: 26.13 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00046/21.62, allocations: 82.88 kB / 7.155 GB, free: 26.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006467/21.62, allocations: 442.8 kB / 7.155 GB, free: 25.85 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.893e-05/21.62, allocations: 46.09 kB / 7.155 GB, free: 25.85 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.49e-05/21.62, allocations: 65.69 kB / 7.155 GB, free: 25.85 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/21.62, allocations: 0.7754 MB / 7.156 GB, free: 25.8 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/21.62, allocations: 5.938 kB / 7.156 GB, free: 25.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.355e-05/21.62, allocations: 26.75 kB / 7.156 GB, free: 25.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/21.62, allocations: 15 kB / 7.156 GB, free: 25.8 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/21.62, allocations: 0.9788 MB / 7.157 GB, free: 25.79 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01311/21.64, allocations: 12.48 MB / 7.169 GB, free: 14.8 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/21.64, allocations: 0.7684 MB / 7.17 GB, free: 14.76 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004585/21.64, allocations: 393 kB / 7.17 GB, free: 14.75 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03397/21.67, allocations: 30.74 MB / 7.201 GB, free: 15.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.009e-05/21.67, allocations: 51 kB / 7.201 GB, free: 15.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 2.545e-06/21.67, allocations: 0 / 7.201 GB, free: 15.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=88): time 0.009435/21.68, allocations: 3.027 MB / 7.204 GB, free: 15.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/21.68, allocations: 63.25 kB / 7.204 GB, free: 15.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003502/21.68, allocations: 320.2 kB / 7.204 GB, free: 14.94 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.08e-05/21.68, allocations: 41.52 kB / 7.204 GB, free: 14.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/21.68, allocations: 243.4 kB / 7.204 GB, free: 14.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/21.68, allocations: 307.2 kB / 7.204 GB, free: 14.46 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/21.68, allocations: 15.56 kB / 7.204 GB, free: 14.45 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/21.68, allocations: 367.5 kB / 7.205 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004549/21.68, allocations: 346.6 kB / 7.205 GB, free: 13.99 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007384/21.69, allocations: 472.1 kB / 7.206 GB, free: 13.74 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007576/21.69, allocations: 411.2 kB / 7.206 GB, free: 13.59 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/21.69, allocations: 3.219 kB / 7.206 GB, free: 13.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002226/21.69, allocations: 1.082 MB / 7.207 GB, free: 13.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/21.69, allocations: 10.52 kB / 7.207 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/21.69, allocations: 2.625 kB / 7.207 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008199/21.69, allocations: 170.2 kB / 7.207 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006906/21.69, allocations: 190 kB / 7.207 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002604/21.69, allocations: 3.918 MB / 7.211 GB, free: 9.211 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005833/21.69, allocations: 60.22 kB / 7.211 GB, free: 9.191 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.319e-05/21.69, allocations: 50.67 kB / 7.211 GB, free: 9.184 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 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.0002297/21.69, allocations: 159.2 kB / 7.211 GB, free: 9.035 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003458/21.69, allocations: 62.41 kB / 7.212 GB, free: 9.008 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002236/21.7, allocations: 1.304 MB / 7.213 GB, free: 8.434 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/21.7, allocations: 13.55 kB / 7.213 GB, free: 8.43 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/21.7, allocations: 0 / 7.213 GB, free: 8.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002069/21.7, allocations: 1.316 MB / 7.214 GB, free: 23.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002878/21.7, allocations: 1.966 MB / 7.216 GB, free: 22.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/21.7, allocations: 5.781 kB / 7.216 GB, free: 22.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006749/21.7, allocations: 170.5 kB / 7.216 GB, free: 22.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001692/21.7, allocations: 303.1 kB / 7.216 GB, free: 22.51 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.985e-05/21.7, allocations: 31.98 kB / 7.217 GB, free: 22.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008347/21.7, allocations: 1.296 MB / 7.218 GB, free: 21.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/21.7, allocations: 3.312 kB / 7.218 GB, free: 21.26 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002306/21.71, allocations: 1.426 MB / 7.219 GB, free: 20.59 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000247/21.71, allocations: 147.4 kB / 7.219 GB, free: 20.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.114e-05/21.71, allocations: 18.53 kB / 7.219 GB, free: 20.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005523/21.71, allocations: 50.36 kB / 7.219 GB, free: 20.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.004e-05/21.71, allocations: 58.5 kB / 7.219 GB, free: 20.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/21.71, allocations: 57.88 kB / 7.22 GB, free: 20.41 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003141/21.71, allocations: 275.2 kB / 7.22 GB, free: 20.27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/21.71, allocations: 0 / 7.22 GB, free: 20.27 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009771/21.72, allocations: 2.266 MB / 7.222 GB, free: 19.64 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02055/21.74, allocations: 5.246 MB / 7.227 GB, free: 17.67 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002705/21.74, allocations: 1.146 MB / 7.228 GB, free: 17.11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/21.74, allocations: 3.312 kB / 7.228 GB, free: 17.11 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/21.74, allocations: 0.4884 MB / 7.229 GB, free: 16.94 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/21.74, allocations: 356 kB / 7.229 GB, free: 16.88 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009084/21.75, allocations: 2.454 MB / 7.231 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006305/21.75, allocations: 0.9291 MB / 7.232 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001074/21.76, allocations: 207.5 kB / 7.233 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003904/21.76, allocations: 229.5 kB / 7.233 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of SimCode: time 1.913e-06/21.76, allocations: 3.875 kB / 7.233 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5059/22.26, allocations: 79.74 MB / 7.311 GB, free: 63.39 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/22.26, allocations: 213.4 kB / 7.311 GB, free: 63.16 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.102/27.36, allocations: 0 / 7.311 GB, free: 63.16 MB / 0.4948 GB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat does not exist to compare? outputFormat=mat