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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 104 kB / 16.4 MB, free: 6.52 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.001222/0.001222, allocations: 188 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00255/0.00255, allocations: 296.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.011/1.011, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002731/0.002731, allocations: 99.83 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.449/0.4518, allocations: 86.98 MB / 0.7671 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002639/0.4544, allocations: 1.264 MB / 0.7683 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006281/0.455, allocations: 299 kB / 0.7686 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.354e-05/0.4551, allocations: 0 / 0.7686 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.094e-05/0.4551, allocations: 4 kB / 0.7686 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.754e-05/0.4552, allocations: 3.938 kB / 0.7686 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.4554, allocations: 47.73 kB / 0.7686 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.669e-05/0.4555, allocations: 15.94 kB / 0.7686 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.51e-05/0.4556, allocations: 8 kB / 0.7687 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.576e-05/0.4556, allocations: 4 kB / 0.7687 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.627e-05/0.4556, allocations: 11.92 kB / 0.7687 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.898e-06/0.4557, allocations: 7.938 kB / 0.7687 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.4558, allocations: 55.95 kB / 0.7687 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.4558, allocations: 3.984 kB / 0.7687 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.676e-05/0.4558, allocations: 11.94 kB / 0.7687 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.4559, allocations: 49.98 kB / 0.7688 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.456, allocations: 0 / 0.7688 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.012e-06/0.456, allocations: 0 / 0.7688 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.728e-06/0.456, allocations: 0 / 0.7688 GB, free: 2.266 MB / 0.5294 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.0004117/0.4564, allocations: 339.3 kB / 0.7691 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.4564, allocations: 16.03 kB / 0.7691 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002123/0.4566, allocations: 20.86 kB / 0.7691 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.4567, allocations: 168.3 kB / 0.7693 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.4568, allocations: 384 / 0.7693 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-06/0.4568, allocations: 4.375 kB / 0.7693 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.4569, allocations: 42.25 kB / 0.7694 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.4569, allocations: 192 / 0.7694 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.4569, allocations: 3.938 kB / 0.7694 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.4569, allocations: 0 / 0.7694 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.01e-05/0.457, allocations: 23.98 kB / 0.7694 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.4571, allocations: 149.7 kB / 0.7695 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001905/0.459, allocations: 270.4 kB / 0.7698 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.976e-05/0.4591, allocations: 24.84 kB / 0.7698 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.4591, allocations: 0 / 0.7698 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.4591, allocations: 30.56 kB / 0.7698 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.4591, allocations: 0 / 0.7698 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001698/0.4593, allocations: 65.81 kB / 0.7699 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.4594, allocations: 55.41 kB / 0.77 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.51e-05/0.4594, allocations: 93.86 kB / 0.77 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.4595, allocations: 33.62 kB / 0.7701 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.586e-05/0.4595, allocations: 80.14 kB / 0.7701 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.4595, allocations: 19.84 kB / 0.7702 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.4596, allocations: 9.719 kB / 0.7702 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.4597, allocations: 318.8 kB / 0.7705 GB, free: 324 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.187e-05/0.4597, allocations: 7.984 kB / 0.7705 GB, free: 316 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.042e-05/0.4598, allocations: 11.98 kB / 0.7705 GB, free: 304 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.007e-05/0.4598, allocations: 28.98 kB / 0.7705 GB, free: 272 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.4598, allocations: 0 / 0.7705 GB, free: 272 kB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.705e-05/0.4599, allocations: 53.69 kB / 0.7706 GB, free: 212 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.4599, allocations: 4 kB / 0.7706 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.4599, allocations: 3.938 kB / 0.7706 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.4599, allocations: 0 / 0.7706 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.029e-05/0.46, allocations: 15.88 kB / 0.7706 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.46, allocations: 0 / 0.7706 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.585e-05/0.46, allocations: 7.938 kB / 0.7706 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.46, allocations: 3.938 kB / 0.7706 GB, free: 176 kB / 0.5294 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.918e-05/0.4601, allocations: 117.8 kB / 0.7707 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.4601, allocations: 0 / 0.7707 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.157e-05/0.4602, allocations: 11.44 kB / 0.7707 GB, free: 36 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.4602, allocations: 0 / 0.7707 GB, free: 36 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.4602, allocations: 0 / 0.7707 GB, free: 36 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.4602, allocations: 0 / 0.7707 GB, free: 36 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.4603, allocations: 157.7 kB / 0.7709 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4603, allocations: 0 / 0.7709 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.642e-05/0.4604, allocations: 4 kB / 0.7709 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.4604, allocations: 4 kB / 0.7709 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.4604, allocations: 3.938 kB / 0.7709 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.4604, allocations: 4 kB / 0.7709 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4604, allocations: 0 / 0.7709 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.4605, allocations: 85.05 kB / 0.771 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.836e-05/0.4606, allocations: 77.11 kB / 0.7711 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.4606, allocations: 3.938 kB / 0.7711 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.466e-05/0.4606, allocations: 4 kB / 0.7711 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.4607, allocations: 7.984 kB / 0.7711 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.4607, allocations: 0 / 0.7711 GB, free: 15.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.174e-05/0.4607, allocations: 83.28 kB / 0.7712 GB, free: 15.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.4607, allocations: 0 / 0.7712 GB, free: 15.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001837/0.4609, allocations: 4 kB / 0.7712 GB, free: 15.52 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001162/0.461, allocations: 99.25 kB / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.4611, allocations: 27.92 kB / 0.7713 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4611, allocations: 96 / 0.7713 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-05/0.4611, allocations: 12 kB / 0.7713 GB, free: 15.37 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.4614, allocations: 19.97 kB / 0.7713 GB, free: 15.35 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003195/0.4617, allocations: 126.6 kB / 0.7714 GB, free: 15.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.462, allocations: 0.6768 MB / 0.7721 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.339e-05/0.4621, allocations: 4.375 kB / 0.7721 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.456e-05/0.4621, allocations: 7.438 kB / 0.7721 GB, free: 14.48 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.4621, allocations: 4 kB / 0.7721 GB, free: 14.48 MB / 0.545 GB Notification: Performance of Templates: time 0.003221/0.4653, allocations: 0.528 MB / 0.7726 GB, free: 13.96 MB / 0.545 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)