Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IBPSA_latest_IBPSA_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.00155/0.00155, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5468/0.5468, allocations: 90.91 MB / 99.34 MB, free: 2.211 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.59/1.59, allocations: 221.5 MB / 343.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000928/0.000928, allocations: 102.6 kB / 415.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.894e-05/1.895e-05, allocations: 4 kB / 494.6 MB, free: 52.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.153, allocations: 72.31 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.336/4.489, allocations: 1.679 GB / 2.233 GB, free: 183.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/4.49, allocations: 85.03 kB / 2.233 GB, free: 183.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.124/4.614, allocations: 63.68 MB / 2.295 GB, free: 162.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.402e-06/4.614, allocations: 0 / 2.295 GB, free: 162.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.553e-05/4.614, allocations: 4 kB / 2.295 GB, free: 162.6 MB / 0.6042 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.000635/4.614, allocations: 449.6 kB / 2.296 GB, free: 162.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/4.614, allocations: 7.312 kB / 2.296 GB, free: 162.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008782/4.615, allocations: 74.41 kB / 2.296 GB, free: 162.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/4.616, allocations: 216.4 kB / 2.296 GB, free: 161.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/4.616, allocations: 0 / 2.296 GB, free: 161.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/4.616, allocations: 3.875 kB / 2.296 GB, free: 161.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001644/4.616, allocations: 66.58 kB / 2.296 GB, free: 161.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/4.616, allocations: 104.1 kB / 2.296 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/4.616, allocations: 4 kB / 2.296 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/4.616, allocations: 0 / 2.296 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/4.616, allocations: 0 / 2.296 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006998/4.617, allocations: 378 kB / 2.297 GB, free: 161.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/4.617, allocations: 201.4 kB / 2.297 GB, free: 161.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.819e-05/4.617, allocations: 39.83 kB / 2.297 GB, free: 161.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/4.617, allocations: 0 / 2.297 GB, free: 161.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/4.617, allocations: 34.55 kB / 2.297 GB, free: 161.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/4.617, allocations: 0 / 2.297 GB, free: 161.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0002487/4.618, allocations: 107.6 kB / 2.297 GB, free: 161.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/4.618, allocations: 51.41 kB / 2.297 GB, free: 161.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.627e-05/4.618, allocations: 120.3 kB / 2.297 GB, free: 160.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/4.618, allocations: 25.7 kB / 2.297 GB, free: 160.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.686e-05/4.618, allocations: 111.5 kB / 2.297 GB, free: 160.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/4.618, allocations: 30.97 kB / 2.297 GB, free: 160.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-06/4.618, allocations: 0 / 2.297 GB, free: 160.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.615e-05/4.618, allocations: 318.8 kB / 2.297 GB, free: 160.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.711e-05/4.618, allocations: 31.36 kB / 2.298 GB, free: 160.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.814e-05/4.618, allocations: 45.11 kB / 2.298 GB, free: 160.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.35e-05/4.618, allocations: 31.33 kB / 2.298 GB, free: 160.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/4.618, allocations: 0 / 2.298 GB, free: 160.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001573/4.618, allocations: 99.36 kB / 2.298 GB, free: 160.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/4.618, allocations: 7.375 kB / 2.298 GB, free: 160.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/4.618, allocations: 0 / 2.298 GB, free: 160.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/4.618, allocations: 3.953 kB / 2.298 GB, free: 160.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/4.619, allocations: 41 kB / 2.298 GB, free: 160.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/4.619, allocations: 0 / 2.298 GB, free: 160.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/4.619, allocations: 22.84 kB / 2.298 GB, free: 160.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/4.619, allocations: 4 kB / 2.298 GB, free: 160.3 MB / 0.6042 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.76e-05/4.619, allocations: 109.4 kB / 2.298 GB, free: 160.2 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001609/4.619, allocations: 91.92 kB / 2.298 GB, free: 160.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/4.619, allocations: 11.8 kB / 2.298 GB, free: 160.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.415e-05/4.619, allocations: 16.61 kB / 2.298 GB, free: 160.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/4.619, allocations: 3.844 kB / 2.298 GB, free: 160.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/4.619, allocations: 0 / 2.298 GB, free: 160.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/4.619, allocations: 0 / 2.298 GB, free: 160.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000379/4.619, allocations: 380.8 kB / 2.298 GB, free: 159.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/4.619, allocations: 0 / 2.298 GB, free: 159.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/4.62, allocations: 35.14 kB / 2.298 GB, free: 159.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/4.62, allocations: 0 / 2.298 GB, free: 159.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/4.62, allocations: 7.875 kB / 2.298 GB, free: 159.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/4.62, allocations: 3.984 kB / 2.298 GB, free: 159.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/4.62, allocations: 0 / 2.298 GB, free: 159.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/4.62, allocations: 198 kB / 2.299 GB, free: 159.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.929e-05/4.62, allocations: 96.72 kB / 2.299 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/4.62, allocations: 0 / 2.299 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/4.62, allocations: 23.34 kB / 2.299 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/4.62, allocations: 11.98 kB / 2.299 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/4.62, allocations: 3.969 kB / 2.299 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.136e-05/4.62, allocations: 101.2 kB / 2.299 GB, free: 159.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/4.62, allocations: 0 / 2.299 GB, free: 159.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003677/4.621, allocations: 62.95 kB / 2.299 GB, free: 159.3 MB / 0.6042 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.001319/4.622, allocations: 1.36 MB / 2.3 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001781/4.622, allocations: 68.38 kB / 2.3 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/4.622, allocations: 4 kB / 2.3 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.474e-05/4.622, allocations: 42.3 kB / 2.3 GB, free: 158.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/4.623, allocations: 19.14 kB / 2.3 GB, free: 158.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006677/4.623, allocations: 187.2 kB / 2.301 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/4.623, allocations: 0.7069 MB / 2.301 GB, free: 157.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001609/4.624, allocations: 24.16 kB / 2.301 GB, free: 157.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.244e-05/4.624, allocations: 34.92 kB / 2.301 GB, free: 157.3 MB / 0.6042 GB Notification: Performance of SimCode: time 4.11e-07/4.624, allocations: 0 / 2.301 GB, free: 157.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03252/4.656, allocations: 7.558 MB / 2.309 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/4.657, allocations: 154.9 kB / 2.309 GB, free: 151 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/6.573, allocations: 0 / 2.309 GB, free: 151 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)