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.001124/0.001124, allocations: 179.4 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4855/0.4855, allocations: 90.8 MB / 104.5 MB, free: 13.9 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.375/1.375, 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.0009162/0.0009158, allocations: 92.34 kB / 421.2 MB, free: 5.672 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.711e-05/2.714e-05, allocations: 4 kB / 0.4897 GB, free: 46.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1311, allocations: 72.31 MB / 0.5603 GB, free: 6.312 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4835/0.6146, allocations: 103.7 MB / 0.6616 GB, free: 4.117 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.6148, allocations: 70.97 kB / 0.6617 GB, free: 4.082 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009974/0.6248, allocations: 3.504 MB / 0.6651 GB, free: 1.09 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.6249, allocations: 0 / 0.6651 GB, free: 1.09 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.6249, allocations: 7.984 kB / 0.6651 GB, free: 1.082 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004733/0.6254, allocations: 408.1 kB / 0.6655 GB, free: 0.6484 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.6254, allocations: 15.98 kB / 0.6655 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.311e-05/0.6255, allocations: 37.86 kB / 0.6656 GB, free: 0.5898 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/0.6257, allocations: 31.83 kB / 0.6656 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.6259, allocations: 190.4 kB / 0.6658 GB, free: 344 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.261e-05/0.626, allocations: 33.27 kB / 0.6658 GB, free: 308 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.626, allocations: 11.5 kB / 0.6658 GB, free: 300 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.6261, allocations: 83.83 kB / 0.6659 GB, free: 228 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.6262, allocations: 0 / 0.6659 GB, free: 228 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.6262, allocations: 7.891 kB / 0.6659 GB, free: 224 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.6262, allocations: 4 kB / 0.6659 GB, free: 220 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.6263, allocations: 53.36 kB / 0.666 GB, free: 184 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005518/0.6269, allocations: 387.6 kB / 0.6663 GB, free: 15.79 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004173/0.6273, allocations: 113.8 kB / 0.6664 GB, free: 15.69 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.22e-05/0.6274, allocations: 35.84 kB / 0.6665 GB, free: 15.66 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.6274, allocations: 0 / 0.6665 GB, free: 15.66 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.6274, allocations: 38.56 kB / 0.6665 GB, free: 15.61 MB / 474.7 MB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.6274, allocations: 0 / 0.6665 GB, free: 15.61 MB / 474.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001711/0.6276, allocations: 70.8 kB / 0.6666 GB, free: 15.55 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.6276, allocations: 55.39 kB / 0.6666 GB, free: 15.48 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.677e-05/0.6277, allocations: 137.6 kB / 0.6668 GB, free: 15.35 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.6278, allocations: 33.06 kB / 0.6668 GB, free: 15.32 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.97e-05/0.6278, allocations: 90.64 kB / 0.6669 GB, free: 15.23 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.6278, allocations: 27.2 kB / 0.6669 GB, free: 15.21 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/0.6278, allocations: 0 / 0.6669 GB, free: 15.21 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.405e-05/0.6279, allocations: 318.7 kB / 0.6672 GB, free: 14.89 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.587e-05/0.628, allocations: 18.34 kB / 0.6672 GB, free: 14.88 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.671e-05/0.628, allocations: 44.38 kB / 0.6673 GB, free: 14.84 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.077e-05/0.6281, allocations: 26.44 kB / 0.6673 GB, free: 14.82 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.6281, allocations: 0 / 0.6673 GB, free: 14.82 MB / 474.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001255/0.6282, allocations: 84.28 kB / 0.6674 GB, free: 14.75 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.6282, allocations: 4 kB / 0.6674 GB, free: 14.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.6283, allocations: 0 / 0.6674 GB, free: 14.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.6283, allocations: 0 / 0.6674 GB, free: 14.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.6284, allocations: 23.92 kB / 0.6674 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.6284, allocations: 8.031 kB / 0.6674 GB, free: 14.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.331e-05/0.6285, allocations: 11.89 kB / 0.6674 GB, free: 14.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.6285, allocations: 6.938 kB / 0.6674 GB, free: 14.7 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 () * 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 5.896e-05/0.6286, allocations: 104.9 kB / 0.6675 GB, free: 14.59 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.6286, allocations: 11.91 kB / 0.6675 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.891e-05/0.6287, allocations: 17.98 kB / 0.6675 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.6287, allocations: 0 / 0.6675 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.6287, allocations: 0 / 0.6675 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.6287, allocations: 4 kB / 0.6675 GB, free: 14.56 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.6289, allocations: 209.5 kB / 0.6677 GB, free: 14.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6289, allocations: 3.938 kB / 0.6678 GB, free: 14.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.629, allocations: 19.98 kB / 0.6678 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.629, allocations: 4 kB / 0.6678 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.629, allocations: 0 / 0.6678 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.629, allocations: 3.984 kB / 0.6678 GB, free: 14.29 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.629, allocations: 3.938 kB / 0.6678 GB, free: 14.29 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.6292, allocations: 176.6 kB / 0.668 GB, free: 14.12 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.95e-05/0.6293, allocations: 92.95 kB / 0.668 GB, free: 14.01 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.6293, allocations: 3.25 kB / 0.668 GB, free: 14.01 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.6294, allocations: 15.98 kB / 0.6681 GB, free: 13.99 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.6295, allocations: 7.984 kB / 0.6681 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.6295, allocations: 0 / 0.6681 GB, free: 13.98 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.989e-05/0.6296, allocations: 112 kB / 0.6682 GB, free: 13.89 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6296, allocations: 4 kB / 0.6682 GB, free: 13.88 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002342/0.6298, allocations: 19.91 kB / 0.6682 GB, free: 13.86 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 () * 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.0003947/0.6302, allocations: 0.7101 MB / 0.6689 GB, free: 13.14 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.6304, allocations: 49.61 kB / 0.6689 GB, free: 13.11 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6304, allocations: 4.062 kB / 0.6689 GB, free: 13.11 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.452e-05/0.6304, allocations: 26.5 kB / 0.669 GB, free: 13.09 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.6307, allocations: 26.03 kB / 0.669 GB, free: 13.07 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004558/0.6311, allocations: 159.4 kB / 0.6691 GB, free: 12.89 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.6314, allocations: 0.7043 MB / 0.6698 GB, free: 12.16 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 7.585e-05/0.6315, allocations: 8.672 kB / 0.6698 GB, free: 12.14 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.472e-05/0.6315, allocations: 28.86 kB / 0.6699 GB, free: 12.13 MB / 474.7 MB Notification: Performance of SimCode: time 4.41e-07/0.6315, allocations: 7.938 kB / 0.6699 GB, free: 12.12 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01286/0.6444, allocations: 2.355 MB / 0.6722 GB, free: 9.926 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/0.6446, allocations: 162.4 kB / 0.6723 GB, free: 9.703 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.415/2.06, allocations: 4 kB / 0.6723 GB, free: 9.699 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)