Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7675/0.7675, allocations: 140.1 MB / 156 MB, free: 5.168 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 183.1 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.4 MB / 426.4 MB, free: 8.469 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000822/0.000822, allocations: 90.36 kB / 0.4945 GB, free: 8.414 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001545/0.001545, allocations: 261.5 kB / 0.5728 GB, free: 66.24 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004637, allocations: 16 kB / 0.662 GB, free: 6.816 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3422, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1305/0.4728, allocations: 107.4 MB / 0.8444 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.4731, allocations: 87.89 kB / 0.8444 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003959/0.477, allocations: 1.482 MB / 0.8459 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.485e-06/0.4771, allocations: 8 kB / 0.8459 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.4771, allocations: 0 / 0.8459 GB, free: 1.23 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003322/0.4774, allocations: 335.5 kB / 0.8462 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.4775, allocations: 12.03 kB / 0.8462 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001941/0.4777, allocations: 20.84 kB / 0.8463 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.4778, allocations: 164.4 kB / 0.8464 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.4778, allocations: 384 / 0.8464 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.4778, allocations: 4.375 kB / 0.8464 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.478, allocations: 42.25 kB / 0.8465 GB, free: 0.5703 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.478, allocations: 192 / 0.8465 GB, free: 0.5703 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.478, allocations: 3.938 kB / 0.8465 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.478, allocations: 0 / 0.8465 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.804e-05/0.4781, allocations: 15.98 kB / 0.8465 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.4782, allocations: 165.6 kB / 0.8466 GB, free: 348 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001773/0.48, allocations: 270.4 kB / 0.8469 GB, free: 68 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.174e-05/0.4801, allocations: 20.86 kB / 0.8469 GB, free: 44 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.4801, allocations: 3.984 kB / 0.8469 GB, free: 40 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/0.4801, allocations: 38.56 kB / 0.847 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.4801, allocations: 0 / 0.847 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0001823/0.4803, allocations: 69.56 kB / 0.847 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.4804, allocations: 51.41 kB / 0.8471 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.616e-05/0.4805, allocations: 89.86 kB / 0.8472 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.4805, allocations: 25.7 kB / 0.8472 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.845e-05/0.4805, allocations: 80.14 kB / 0.8473 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.4805, allocations: 15.97 kB / 0.8473 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.4806, allocations: 4 kB / 0.8473 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.4807, allocations: 314.8 kB / 0.8476 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.09e-05/0.4807, allocations: 8 kB / 0.8476 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.723e-05/0.4807, allocations: 4 kB / 0.8476 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.899e-05/0.4808, allocations: 33.08 kB / 0.8476 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.4808, allocations: 0 / 0.8476 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.532e-05/0.4809, allocations: 65.52 kB / 0.8477 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.4809, allocations: 4 kB / 0.8477 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.4809, allocations: 3.938 kB / 0.8477 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.4809, allocations: 4 kB / 0.8477 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.729e-05/0.481, allocations: 15.92 kB / 0.8477 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.481, allocations: 0 / 0.8477 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.695e-05/0.4811, allocations: 0 / 0.8477 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.4811, allocations: 0 / 0.8477 GB, free: 15.16 MB / 0.5261 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 (4): * Single equations (assignments): 4 * 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.825e-05/0.4811, allocations: 109.8 kB / 0.8478 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.584e-06/0.4812, allocations: 0 / 0.8478 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.282e-05/0.4812, allocations: 11.44 kB / 0.8478 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.4812, allocations: 4 kB / 0.8478 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.4812, allocations: 4 kB / 0.8478 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.4812, allocations: 0 / 0.8478 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.4814, allocations: 153.7 kB / 0.848 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4814, allocations: 0 / 0.848 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.473e-05/0.4814, allocations: 7.984 kB / 0.848 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.4814, allocations: 4 kB / 0.848 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.4814, allocations: 11.94 kB / 0.848 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4814, allocations: 0 / 0.848 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4815, allocations: 3.938 kB / 0.848 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.908e-05/0.4816, allocations: 79.28 kB / 0.8481 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.338e-05/0.4816, allocations: 81.02 kB / 0.8482 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.4817, allocations: 7.938 kB / 0.8482 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.663e-05/0.4817, allocations: 7.984 kB / 0.8482 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.846e-05/0.4817, allocations: 0 / 0.8482 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.4817, allocations: 4 kB / 0.8482 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.917e-05/0.4818, allocations: 75.28 kB / 0.8482 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4818, allocations: 0 / 0.8482 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001774/0.482, allocations: 4.094 kB / 0.8482 GB, free: 14.51 MB / 0.5261 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 (4): * Single equations (assignments): 4 * 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.0001085/0.4821, allocations: 103.2 kB / 0.8483 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.302e-05/0.4822, allocations: 27.92 kB / 0.8484 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4822, allocations: 3.938 kB / 0.8484 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.205e-05/0.4822, allocations: 12 kB / 0.8484 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.4825, allocations: 11.98 kB / 0.8484 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.4828, allocations: 136.5 kB / 0.8485 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.483, allocations: 0.6731 MB / 0.8492 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.48e-05/0.4831, allocations: 11.98 kB / 0.8492 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.128e-05/0.4831, allocations: 11.38 kB / 0.8492 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of SimCode: time 2.1e-07/0.4831, allocations: 0 / 0.8492 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of Templates: time 0.002169/0.4853, allocations: 494.8 kB / 0.8497 GB, free: 12.99 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)