Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.HumidityRatioPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.001416/0.001416, allocations: 181.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6063/0.6063, allocations: 91.99 MB / 108.5 MB, free: 13.05 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.694/1.694, allocations: 223.2 MB / 354.3 MB, free: 12.22 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.001073/0.001073, allocations: 111.1 kB / 427.4 MB, free: 3.969 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003639/0.0003639, allocations: 12 kB / 0.4983 GB, free: 42.24 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1643, allocations: 72.31 MB / 0.5689 GB, free: 1.875 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4834/0.6478, allocations: 103.8 MB / 0.6703 GB, free: 0.6211 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.6481, allocations: 71.97 kB / 0.6704 GB, free: 0.5508 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01129/0.6595, allocations: 3.517 MB / 0.6738 GB, free: 13.05 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.6595, allocations: 0 / 0.6738 GB, free: 13.05 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.6595, allocations: 4 kB / 0.6738 GB, free: 13.04 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006673/0.6602, allocations: 422.9 kB / 0.6742 GB, free: 12.58 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.6603, allocations: 8.031 kB / 0.6742 GB, free: 12.57 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.143e-05/0.6603, allocations: 42.55 kB / 0.6742 GB, free: 12.52 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002509/0.6606, allocations: 23.89 kB / 0.6743 GB, free: 12.5 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.6608, allocations: 183 kB / 0.6744 GB, free: 12.28 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.46e-05/0.6609, allocations: 49.61 kB / 0.6745 GB, free: 12.23 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.661, allocations: 4 kB / 0.6745 GB, free: 12.22 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/0.6613, allocations: 113.5 kB / 0.6746 GB, free: 12.11 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.6613, allocations: 0 / 0.6746 GB, free: 12.11 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.6613, allocations: 7.953 kB / 0.6746 GB, free: 12.1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.6614, allocations: 0 / 0.6746 GB, free: 12.1 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000258/0.6616, allocations: 87.94 kB / 0.6747 GB, free: 12.01 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007807/0.6624, allocations: 388.4 kB / 0.6751 GB, free: 11.58 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005799/0.663, allocations: 134.6 kB / 0.6752 GB, free: 11.44 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.663, allocations: 3.938 kB / 0.6752 GB, free: 11.44 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.6631, allocations: 38.56 kB / 0.6752 GB, free: 11.39 MB / 474.7 MB Notification: Performance of pre-optimization done (n=7): time 2.545e-06/0.6631, allocations: 0 / 0.6752 GB, free: 11.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004727/0.6636, allocations: 146.6 kB / 0.6754 GB, free: 11.24 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.6636, allocations: 55.41 kB / 0.6754 GB, free: 11.18 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.6638, allocations: 126.9 kB / 0.6755 GB, free: 11.04 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.6638, allocations: 25.7 kB / 0.6756 GB, free: 11.01 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.932e-05/0.6639, allocations: 100.2 kB / 0.6757 GB, free: 10.91 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.6639, allocations: 23.66 kB / 0.6757 GB, free: 10.89 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/0.6639, allocations: 0 / 0.6757 GB, free: 10.89 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.6641, allocations: 326.8 kB / 0.676 GB, free: 10.56 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.6642, allocations: 39.97 kB / 0.676 GB, free: 10.52 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.6643, allocations: 45.64 kB / 0.6761 GB, free: 10.47 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.6644, allocations: 40.44 kB / 0.6761 GB, free: 10.43 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.6644, allocations: 4 kB / 0.6761 GB, free: 10.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002985/0.6647, allocations: 121.5 kB / 0.6762 GB, free: 10.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.6648, allocations: 5.094 kB / 0.6762 GB, free: 10.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.6648, allocations: 3.938 kB / 0.6763 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.6648, allocations: 4 kB / 0.6763 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.665, allocations: 28.02 kB / 0.6763 GB, free: 10.26 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.665, allocations: 0 / 0.6763 GB, free: 10.26 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.6651, allocations: 23.83 kB / 0.6763 GB, free: 10.24 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.6651, allocations: 0 / 0.6763 GB, free: 10.24 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 0.0001056/0.6652, allocations: 117.8 kB / 0.6764 GB, free: 10.11 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.6653, allocations: 7.906 kB / 0.6764 GB, free: 10.11 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.21e-05/0.6653, allocations: 20.72 kB / 0.6764 GB, free: 10.08 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.6653, allocations: 0 / 0.6764 GB, free: 10.08 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.6654, allocations: 0 / 0.6764 GB, free: 10.08 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.6654, allocations: 0 / 0.6764 GB, free: 10.08 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.6656, allocations: 205.5 kB / 0.6766 GB, free: 9.828 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.6656, allocations: 0 / 0.6766 GB, free: 9.828 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.6658, allocations: 23.92 kB / 0.6767 GB, free: 9.805 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.6658, allocations: 3.938 kB / 0.6767 GB, free: 9.801 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.6658, allocations: 0 / 0.6767 GB, free: 9.801 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.6658, allocations: 0 / 0.6767 GB, free: 9.801 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6658, allocations: 4 kB / 0.6767 GB, free: 9.797 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.6662, allocations: 207.4 kB / 0.6769 GB, free: 9.578 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-05/0.6662, allocations: 92.97 kB / 0.677 GB, free: 9.469 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.6663, allocations: 4 kB / 0.677 GB, free: 9.465 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.6664, allocations: 15.98 kB / 0.677 GB, free: 9.449 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.6665, allocations: 7.984 kB / 0.677 GB, free: 9.441 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.6665, allocations: 0 / 0.677 GB, free: 9.441 MB / 474.7 MB Notification: Performance of sorting global known variables: time 7.591e-05/0.6666, allocations: 104.7 kB / 0.6771 GB, free: 9.34 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6666, allocations: 0 / 0.6771 GB, free: 9.34 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002401/0.6669, allocations: 20 kB / 0.6771 GB, free: 9.32 MB / 474.7 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0006454/0.6675, allocations: 0.7513 MB / 0.6778 GB, free: 8.543 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002739/0.6678, allocations: 87.89 kB / 0.6779 GB, free: 8.457 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6678, allocations: 0 / 0.6779 GB, free: 8.457 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.6679, allocations: 48.03 kB / 0.678 GB, free: 8.41 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.6683, allocations: 27.08 kB / 0.678 GB, free: 8.387 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.6693, allocations: 0.5892 MB / 0.6786 GB, free: 7.746 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.6697, allocations: 0.6965 MB / 0.6792 GB, free: 7.023 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.6698, allocations: 12.67 kB / 0.6793 GB, free: 7.008 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.063e-05/0.6699, allocations: 27.42 kB / 0.6793 GB, free: 6.98 MB / 474.7 MB Notification: Performance of SimCode: time 2.024e-06/0.6699, allocations: 0 / 0.6793 GB, free: 6.98 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/0.6861, allocations: 2.341 MB / 0.6816 GB, free: 4.809 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002769/0.6864, allocations: 185.6 kB / 0.6817 GB, free: 4.574 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.648/2.334, allocations: 4 kB / 0.6818 GB, free: 4.57 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)