Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008484/0.0008485, allocations: 91.77 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009121/0.0009122, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 223.3 MB / 240 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7364/0.7364, allocations: 132.3 MB / 423.4 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003344, allocations: 8.219 kB / 0.5035 GB, free: 4.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4948/0.4952, allocations: 81.58 MB / 0.5832 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00145/0.4967, allocations: 1.002 MB / 0.5841 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1692/0.6659, allocations: 134.1 MB / 0.7151 GB, free: 9.129 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.419e-05/0.6659, allocations: 4 kB / 0.7151 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.622e-05/0.666, allocations: 0 / 0.7151 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.471e-05/0.666, allocations: 3.938 kB / 0.7151 GB, free: 9.121 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004862/0.6665, allocations: 99.61 kB / 0.7152 GB, free: 9.023 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.572e-05/0.6666, allocations: 15.88 kB / 0.7152 GB, free: 9.008 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.315e-05/0.6667, allocations: 3.984 kB / 0.7152 GB, free: 9.004 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.006e-05/0.6667, allocations: 7.938 kB / 0.7152 GB, free: 8.996 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.639e-05/0.6668, allocations: 11.98 kB / 0.7152 GB, free: 8.984 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.6668, allocations: 0 / 0.7152 GB, free: 8.984 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004552/0.6672, allocations: 171.6 kB / 0.7154 GB, free: 8.816 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.6673, allocations: 7.984 kB / 0.7154 GB, free: 8.809 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.662e-05/0.6673, allocations: 29.7 kB / 0.7154 GB, free: 8.773 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.6675, allocations: 82.11 kB / 0.7155 GB, free: 8.695 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6675, allocations: 0 / 0.7155 GB, free: 8.695 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6675, allocations: 0 / 0.7155 GB, free: 8.695 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.6675, allocations: 0 / 0.7155 GB, free: 8.695 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003499/0.6679, allocations: 347.2 kB / 0.7158 GB, free: 8.309 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.6679, allocations: 12.03 kB / 0.7158 GB, free: 8.297 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.077e-05/0.668, allocations: 34.5 kB / 0.7159 GB, free: 8.254 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005561/0.6685, allocations: 43.91 kB / 0.7159 GB, free: 8.211 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.6687, allocations: 163 kB / 0.7161 GB, free: 8.012 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.6687, allocations: 4 kB / 0.7161 GB, free: 8.008 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.6687, allocations: 0 / 0.7161 GB, free: 8.008 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.6689, allocations: 45.66 kB / 0.7161 GB, free: 7.957 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.6689, allocations: 0 / 0.7161 GB, free: 7.957 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.6689, allocations: 7.984 kB / 0.7161 GB, free: 7.949 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.6689, allocations: 4 kB / 0.7161 GB, free: 7.945 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.669, allocations: 23.92 kB / 0.7161 GB, free: 7.922 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.6694, allocations: 241 kB / 0.7164 GB, free: 7.637 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.492e-05/0.6695, allocations: 30.52 kB / 0.7164 GB, free: 7.598 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.167e-05/0.6695, allocations: 12.92 kB / 0.7164 GB, free: 7.582 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.243e-06/0.6695, allocations: 0 / 0.7164 GB, free: 7.582 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.6696, allocations: 38.55 kB / 0.7164 GB, free: 7.535 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.6696, allocations: 0 / 0.7164 GB, free: 7.535 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001508/0.6697, allocations: 41.56 kB / 0.7165 GB, free: 7.488 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.6698, allocations: 59.34 kB / 0.7165 GB, free: 7.418 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.6699, allocations: 110 kB / 0.7166 GB, free: 7.301 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.67, allocations: 29.7 kB / 0.7167 GB, free: 7.266 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.67, allocations: 88.06 kB / 0.7168 GB, free: 7.176 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.193e-05/0.67, allocations: 7.906 kB / 0.7168 GB, free: 7.168 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/0.67, allocations: 0 / 0.7168 GB, free: 7.168 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.926e-05/0.6701, allocations: 314.8 kB / 0.7171 GB, free: 6.852 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.575e-05/0.6702, allocations: 7.984 kB / 0.7171 GB, free: 6.844 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.932e-05/0.6703, allocations: 11.98 kB / 0.7171 GB, free: 6.832 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.526e-05/0.6703, allocations: 16 kB / 0.7171 GB, free: 6.816 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6703, allocations: 0 / 0.7171 GB, free: 6.816 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001673/0.6705, allocations: 53.66 kB / 0.7171 GB, free: 6.758 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.6705, allocations: 6.344 kB / 0.7172 GB, free: 6.754 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.6705, allocations: 0 / 0.7172 GB, free: 6.754 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.6706, allocations: 7.953 kB / 0.7172 GB, free: 6.746 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.6707, allocations: 15.92 kB / 0.7172 GB, free: 6.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.6707, allocations: 4 kB / 0.7172 GB, free: 6.727 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.6708, allocations: 11.94 kB / 0.7172 GB, free: 6.715 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.6709, allocations: 3.984 kB / 0.7172 GB, free: 6.711 MB / 0.545 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.704e-05/0.6709, allocations: 105.8 kB / 0.7173 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.671, allocations: 7.906 kB / 0.7173 GB, free: 6.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.047e-05/0.671, allocations: 7.125 kB / 0.7173 GB, free: 6.582 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.671, allocations: 0 / 0.7173 GB, free: 6.582 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.671, allocations: 7.953 kB / 0.7173 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.671, allocations: 0 / 0.7173 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.6712, allocations: 157.6 kB / 0.7175 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.6712, allocations: 0 / 0.7175 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.427e-05/0.6712, allocations: 4 kB / 0.7175 GB, free: 6.367 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.6712, allocations: 0 / 0.7175 GB, free: 6.367 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.6712, allocations: 3.984 kB / 0.7175 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.6712, allocations: 0 / 0.7175 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6712, allocations: 3.984 kB / 0.7175 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.6713, allocations: 143.5 kB / 0.7176 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.526e-05/0.6714, allocations: 85.09 kB / 0.7177 GB, free: 6.102 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.6714, allocations: 0 / 0.7177 GB, free: 6.102 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.965e-05/0.6715, allocations: 4 kB / 0.7177 GB, free: 6.098 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.6715, allocations: 4.312 kB / 0.7177 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-06/0.6716, allocations: 0 / 0.7177 GB, free: 6.094 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.503e-05/0.6716, allocations: 99.2 kB / 0.7178 GB, free: 5.996 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.9e-07/0.6717, allocations: 4.031 kB / 0.7178 GB, free: 5.992 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002465/0.6719, allocations: 12 kB / 0.7178 GB, free: 5.98 MB / 0.545 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005527/0.6725, allocations: 0.6734 MB / 0.7185 GB, free: 5.281 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001617/0.6726, allocations: 27.95 kB / 0.7185 GB, free: 5.254 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.6726, allocations: 0 / 0.7185 GB, free: 5.254 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.008e-05/0.6727, allocations: 7.984 kB / 0.7185 GB, free: 5.246 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.673, allocations: 8 kB / 0.7185 GB, free: 5.238 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005034/0.6735, allocations: 176 kB / 0.7187 GB, free: 5.031 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.6738, allocations: 0.6771 MB / 0.7193 GB, free: 4.328 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.467e-05/0.6739, allocations: 8 kB / 0.7194 GB, free: 4.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.674, allocations: 11.42 kB / 0.7194 GB, free: 4.309 MB / 0.545 GB Notification: Performance of SimCode: time 1.923e-06/0.674, allocations: 0 / 0.7194 GB, free: 4.309 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0158/0.6898, allocations: 1.362 MB / 0.7207 GB, free: 3.125 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/0.69, allocations: 195.8 kB / 0.7209 GB, free: 2.883 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/2.354, allocations: 0 / 0.7209 GB, free: 2.883 MB / 0.545 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) Environment - environmentSimulation: