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.0009769/0.0009769, allocations: 182.3 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5066/0.5066, allocations: 90.8 MB / 104.5 MB, free: 13.88 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 221.3 MB / 348.3 MB, free: 12.55 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008488/0.0008488, allocations: 94.19 kB / 421.2 MB, free: 5.68 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.149e-05/3.163e-05, allocations: 4 kB / 0.4897 GB, free: 46.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1314, allocations: 72.31 MB / 0.5603 GB, free: 6.312 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.628/3.759, allocations: 1.68 GB / 2.24 GB, free: 174.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/3.76, allocations: 82.92 kB / 2.24 GB, free: 174.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1117/3.871, allocations: 64.65 MB / 2.304 GB, free: 128.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.413e-06/3.871, allocations: 0 / 2.304 GB, free: 128.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.12e-05/3.871, allocations: 4 kB / 2.304 GB, free: 128.1 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.0005164/3.872, allocations: 442.3 kB / 2.304 GB, free: 127.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/3.872, allocations: 11.98 kB / 2.304 GB, free: 127.7 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.526e-05/3.872, allocations: 42.55 kB / 2.304 GB, free: 127.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007576/3.873, allocations: 67.83 kB / 2.304 GB, free: 127.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/3.873, allocations: 222.6 kB / 2.304 GB, free: 127.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/3.873, allocations: 8 kB / 2.304 GB, free: 127.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/3.873, allocations: 4 kB / 2.304 GB, free: 127.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/3.873, allocations: 105.6 kB / 2.304 GB, free: 127.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/3.873, allocations: 4 kB / 2.304 GB, free: 127.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/3.873, allocations: 8 kB / 2.304 GB, free: 127.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/3.873, allocations: 0 / 2.304 GB, free: 127.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/3.873, allocations: 71.97 kB / 2.305 GB, free: 127.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006294/3.874, allocations: 408.3 kB / 2.305 GB, free: 126.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002979/3.874, allocations: 203.7 kB / 2.305 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.077e-05/3.874, allocations: 56.83 kB / 2.305 GB, free: 126.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/3.874, allocations: 3.938 kB / 2.305 GB, free: 126.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.161e-05/3.874, allocations: 38.52 kB / 2.305 GB, free: 126.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/3.874, allocations: 0 / 2.305 GB, free: 126.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0002344/3.875, allocations: 101.5 kB / 2.305 GB, free: 126.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.114e-05/3.875, allocations: 55.41 kB / 2.305 GB, free: 126.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.472e-05/3.875, allocations: 133.6 kB / 2.305 GB, free: 126 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/3.875, allocations: 25.7 kB / 2.305 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.05e-05/3.875, allocations: 96.33 kB / 2.306 GB, free: 125.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/3.875, allocations: 31.69 kB / 2.306 GB, free: 125.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.714e-06/3.875, allocations: 4 kB / 2.306 GB, free: 125.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.08e-05/3.875, allocations: 326.8 kB / 2.306 GB, free: 125.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.979e-05/3.875, allocations: 20 kB / 2.306 GB, free: 125.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.989e-05/3.875, allocations: 54.5 kB / 2.306 GB, free: 125.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.666e-05/3.875, allocations: 31.92 kB / 2.306 GB, free: 125.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/3.875, allocations: 0 / 2.306 GB, free: 125.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001514/3.875, allocations: 101.7 kB / 2.306 GB, free: 125.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/3.875, allocations: 4 kB / 2.306 GB, free: 125.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/3.875, allocations: 15.97 kB / 2.306 GB, free: 125.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/3.875, allocations: 0 / 2.306 GB, free: 125.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/3.875, allocations: 35.91 kB / 2.306 GB, free: 125.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/3.876, allocations: 0 / 2.306 GB, free: 125.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/3.876, allocations: 19.98 kB / 2.306 GB, free: 125.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/3.876, allocations: 11.98 kB / 2.306 GB, free: 125.2 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 4.526e-05/3.876, allocations: 105 kB / 2.306 GB, free: 125.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.164e-05/3.876, allocations: 11.81 kB / 2.306 GB, free: 125.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.117e-05/3.876, allocations: 12.62 kB / 2.306 GB, free: 125 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/3.876, allocations: 7.953 kB / 2.306 GB, free: 125 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/3.876, allocations: 0 / 2.306 GB, free: 125 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/3.876, allocations: 0 / 2.306 GB, free: 125 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003796/3.876, allocations: 414.7 kB / 2.307 GB, free: 124.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/3.876, allocations: 0 / 2.307 GB, free: 124.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/3.876, allocations: 39.92 kB / 2.307 GB, free: 124.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/3.876, allocations: 0 / 2.307 GB, free: 124.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/3.876, allocations: 3.984 kB / 2.307 GB, free: 124.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/3.876, allocations: 0 / 2.307 GB, free: 124.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/3.876, allocations: 7.938 kB / 2.307 GB, free: 124.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/3.877, allocations: 203.3 kB / 2.307 GB, free: 124.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.257e-05/3.877, allocations: 85.02 kB / 2.307 GB, free: 124.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/3.877, allocations: 7.938 kB / 2.307 GB, free: 124.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/3.877, allocations: 23.98 kB / 2.307 GB, free: 124.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/3.877, allocations: 15.92 kB / 2.307 GB, free: 124.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/3.877, allocations: 4 kB / 2.307 GB, free: 124.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.63e-05/3.877, allocations: 110.7 kB / 2.307 GB, free: 124.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.3e-07/3.877, allocations: 0 / 2.307 GB, free: 124.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003553/3.877, allocations: 75.98 kB / 2.307 GB, free: 124 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.0008721/3.878, allocations: 1.271 MB / 2.309 GB, free: 122.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001545/3.878, allocations: 71.91 kB / 2.309 GB, free: 122.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/3.878, allocations: 0 / 2.309 GB, free: 122.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.396e-05/3.878, allocations: 39.98 kB / 2.309 GB, free: 122.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/3.879, allocations: 26.22 kB / 2.309 GB, free: 122.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/3.879, allocations: 207.1 kB / 2.309 GB, free: 122.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/3.879, allocations: 0.7004 MB / 2.31 GB, free: 121.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001478/3.88, allocations: 28.41 kB / 2.31 GB, free: 121.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.591e-05/3.88, allocations: 31.42 kB / 2.31 GB, free: 121.5 MB / 0.6042 GB Notification: Performance of SimCode: time 4.11e-07/3.88, allocations: 3.938 kB / 2.31 GB, free: 121.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02441/3.904, allocations: 15.33 MB / 2.325 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001316/3.904, allocations: 159 kB / 2.325 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2/5.904, allocations: 0 / 2.325 GB, free: 106.1 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)