Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",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.001568/0.001568, allocations: 178.4 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7646/0.7646, allocations: 133.6 MB / 141.6 MB, free: 2.918 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 221.5 MB / 395.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009547/0.0009546, allocations: 91.45 kB / 478.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.784e-05/1.787e-05, allocations: 4 kB / 0.5535 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4803/0.4803, allocations: 82.3 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.028/4.508, allocations: 1.689 GB / 2.323 GB, free: 58.19 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/4.508, allocations: 79.95 kB / 2.323 GB, free: 58.15 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.54/5.048, allocations: 63.68 MB / 2.385 GB, free: 243.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.004e-06/5.048, allocations: 0 / 2.385 GB, free: 243.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.371e-05/5.048, allocations: 2.875 kB / 2.385 GB, free: 243.8 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006608/5.049, allocations: 448.2 kB / 2.386 GB, free: 243.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/5.049, allocations: 9.719 kB / 2.386 GB, free: 243.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008537/5.05, allocations: 76.2 kB / 2.386 GB, free: 243.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/5.05, allocations: 212.1 kB / 2.386 GB, free: 243.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/5.05, allocations: 1.688 kB / 2.386 GB, free: 243.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/5.05, allocations: 4.719 kB / 2.386 GB, free: 243.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001842/5.05, allocations: 71.22 kB / 2.386 GB, free: 243.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/5.051, allocations: 99.03 kB / 2.386 GB, free: 243.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/5.051, allocations: 1.531 kB / 2.386 GB, free: 243.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/5.051, allocations: 0.5625 kB / 2.386 GB, free: 243.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/5.051, allocations: 1.469 kB / 2.386 GB, free: 243.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007289/5.051, allocations: 375.9 kB / 2.386 GB, free: 243 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003684/5.052, allocations: 198.9 kB / 2.387 GB, free: 242.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.185e-05/5.052, allocations: 49.81 kB / 2.387 GB, free: 242.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/5.052, allocations: 3.625 kB / 2.387 GB, free: 242.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/5.052, allocations: 31.83 kB / 2.387 GB, free: 242.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/5.052, allocations: 0.5938 kB / 2.387 GB, free: 242.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0002843/5.052, allocations: 103.2 kB / 2.387 GB, free: 242.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.157e-05/5.052, allocations: 52.25 kB / 2.387 GB, free: 242.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.877e-05/5.052, allocations: 118.8 kB / 2.387 GB, free: 242.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/5.052, allocations: 26.3 kB / 2.387 GB, free: 242.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.694e-05/5.053, allocations: 110.3 kB / 2.387 GB, free: 242.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/5.053, allocations: 22.59 kB / 2.387 GB, free: 242.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/5.053, allocations: 3.844 kB / 2.387 GB, free: 242.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.049e-05/5.053, allocations: 321.9 kB / 2.387 GB, free: 242.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.165e-05/5.053, allocations: 23.7 kB / 2.387 GB, free: 242.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.437e-05/5.053, allocations: 44 kB / 2.387 GB, free: 242.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.613e-05/5.053, allocations: 28.31 kB / 2.387 GB, free: 242.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/5.053, allocations: 3.188 kB / 2.387 GB, free: 242.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001822/5.053, allocations: 103.8 kB / 2.388 GB, free: 242.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/5.053, allocations: 7.266 kB / 2.388 GB, free: 242.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/5.053, allocations: 0.75 kB / 2.388 GB, free: 242.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/5.053, allocations: 0.75 kB / 2.388 GB, free: 242.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/5.053, allocations: 39.02 kB / 2.388 GB, free: 242.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/5.053, allocations: 1.297 kB / 2.388 GB, free: 242.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/5.054, allocations: 25.39 kB / 2.388 GB, free: 242.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/5.054, allocations: 3.75 kB / 2.388 GB, free: 242.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.44e-05/5.054, allocations: 105.7 kB / 2.388 GB, free: 242 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002001/5.054, allocations: 106.9 kB / 2.388 GB, free: 242 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/5.054, allocations: 8.969 kB / 2.388 GB, free: 242 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.873e-05/5.054, allocations: 13.62 kB / 2.388 GB, free: 242 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/5.054, allocations: 1.391 kB / 2.388 GB, free: 242 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/5.054, allocations: 0.9688 kB / 2.388 GB, free: 242 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/5.054, allocations: 4 kB / 2.388 GB, free: 242 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004999/5.055, allocations: 375.2 kB / 2.388 GB, free: 241.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/5.055, allocations: 0.625 kB / 2.388 GB, free: 241.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/5.055, allocations: 44.14 kB / 2.388 GB, free: 241.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/5.055, allocations: 3.281 kB / 2.388 GB, free: 241.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/5.055, allocations: 2.359 kB / 2.388 GB, free: 241.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/5.055, allocations: 0.6562 kB / 2.388 GB, free: 241.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/5.055, allocations: 0 / 2.388 GB, free: 241.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/5.055, allocations: 196.7 kB / 2.388 GB, free: 241.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-05/5.055, allocations: 84.58 kB / 2.389 GB, free: 241.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/5.055, allocations: 0.8125 kB / 2.389 GB, free: 241.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/5.055, allocations: 19.44 kB / 2.389 GB, free: 241.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.248e-05/5.056, allocations: 13.36 kB / 2.389 GB, free: 241.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/5.056, allocations: 2.781 kB / 2.389 GB, free: 241.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.035e-05/5.056, allocations: 100.5 kB / 2.389 GB, free: 241.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.21e-07/5.056, allocations: 0 / 2.389 GB, free: 241.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004182/5.056, allocations: 63.91 kB / 2.389 GB, free: 241.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001692/5.058, allocations: 1.361 MB / 2.39 GB, free: 240.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002107/5.058, allocations: 69.88 kB / 2.39 GB, free: 240.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/5.058, allocations: 0 / 2.39 GB, free: 240.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.558e-05/5.058, allocations: 40.31 kB / 2.39 GB, free: 240.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/5.058, allocations: 23.48 kB / 2.39 GB, free: 240.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006396/5.059, allocations: 192.9 kB / 2.39 GB, free: 240.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/5.059, allocations: 0.7044 MB / 2.391 GB, free: 239.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001984/5.059, allocations: 28.62 kB / 2.391 GB, free: 239.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.013e-05/5.059, allocations: 31.8 kB / 2.391 GB, free: 239.9 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/5.059, allocations: 0.5625 kB / 2.391 GB, free: 239.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0307/5.09, allocations: 7.566 MB / 2.399 GB, free: 239.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/5.09, allocations: 139.5 kB / 2.399 GB, free: 239.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/6.869, allocations: 5.094 kB / 2.399 GB, free: 239.3 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)