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.001173/0.001173, allocations: 109 kB / 16.42 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.001182/0.001182, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.236/1.236, allocations: 222.9 MB / 241 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.002043/0.002043, allocations: 286.1 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 0.8849/0.8849, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 95.84 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3482, allocations: 86.98 MB / 0.7671 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001956/0.3501, allocations: 1.252 MB / 0.7683 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004877/0.3506, allocations: 295.1 kB / 0.7686 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.026e-05/0.3507, allocations: 0 / 0.7686 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.897e-05/0.3507, allocations: 3.938 kB / 0.7686 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.387e-05/0.3507, allocations: 3.984 kB / 0.7686 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.351, allocations: 55.75 kB / 0.7686 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.349e-05/0.351, allocations: 15.88 kB / 0.7686 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 2.941e-05/0.3511, allocations: 7.984 kB / 0.7687 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.401e-05/0.3511, allocations: 15.92 kB / 0.7687 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.862e-05/0.3512, allocations: 4 kB / 0.7687 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.3512, allocations: 0 / 0.7687 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.3513, allocations: 59.95 kB / 0.7687 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.09e-05/0.3513, allocations: 7.922 kB / 0.7687 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.016e-05/0.3513, allocations: 7.938 kB / 0.7687 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.3515, allocations: 47.47 kB / 0.7688 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.3515, allocations: 0 / 0.7688 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3515, allocations: 4 kB / 0.7688 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.3515, allocations: 0 / 0.7688 GB, free: 2.172 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.0003382/0.3518, allocations: 338.2 kB / 0.7691 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.3519, allocations: 8.031 kB / 0.7691 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002054/0.3521, allocations: 20.91 kB / 0.7691 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.3522, allocations: 164.3 kB / 0.7693 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-06/0.3522, allocations: 4.375 kB / 0.7693 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.3522, allocations: 384 / 0.7693 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.3523, allocations: 50.19 kB / 0.7694 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.3523, allocations: 192 / 0.7694 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.3524, allocations: 3.938 kB / 0.7694 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.3524, allocations: 0 / 0.7694 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.767e-05/0.3524, allocations: 19.98 kB / 0.7694 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/0.3526, allocations: 157.7 kB / 0.7695 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.3543, allocations: 266.4 kB / 0.7698 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.289e-05/0.3544, allocations: 24.84 kB / 0.7698 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.3544, allocations: 0 / 0.7698 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.3544, allocations: 38.5 kB / 0.7698 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3544, allocations: 4 kB / 0.7698 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001648/0.3546, allocations: 69.61 kB / 0.7699 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.3546, allocations: 51.41 kB / 0.77 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.165e-05/0.3547, allocations: 89.86 kB / 0.77 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.3547, allocations: 25.7 kB / 0.7701 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.313e-05/0.3548, allocations: 80.14 kB / 0.7701 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.3548, allocations: 19.75 kB / 0.7702 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.3548, allocations: 13.84 kB / 0.7702 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.3549, allocations: 322.8 kB / 0.7705 GB, free: 228 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.9e-05/0.355, allocations: 4 kB / 0.7705 GB, free: 224 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.681e-05/0.355, allocations: 11.94 kB / 0.7705 GB, free: 212 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.037e-05/0.355, allocations: 24.86 kB / 0.7705 GB, free: 184 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.355, allocations: 3.984 kB / 0.7705 GB, free: 180 kB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.179e-05/0.3551, allocations: 49.7 kB / 0.7706 GB, free: 124 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.3551, allocations: 4 kB / 0.7706 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.3551, allocations: 0 / 0.7706 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.3552, allocations: 3.938 kB / 0.7706 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.737e-05/0.3552, allocations: 15.98 kB / 0.7706 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3552, allocations: 3.938 kB / 0.7706 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.762e-05/0.3553, allocations: 3.938 kB / 0.7706 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.3553, allocations: 0 / 0.7706 GB, free: 92 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 7.569e-05/0.3553, allocations: 117.8 kB / 0.7707 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-06/0.3554, allocations: 0 / 0.7707 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.744e-05/0.3554, allocations: 11.44 kB / 0.7707 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3554, allocations: 0 / 0.7707 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3554, allocations: 0 / 0.7707 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/0.3555, allocations: 89.09 kB / 0.7708 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.3555, allocations: 0 / 0.7708 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.856e-05/0.3555, allocations: 0 / 0.7708 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.656e-05/0.3556, allocations: 4 kB / 0.7708 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001124/0.3557, allocations: 129 kB / 0.7709 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001299/0.3558, allocations: 235 kB / 0.7712 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.536e-05/0.3558, allocations: 16.03 kB / 0.7712 GB, free: 15.45 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.395e-05/0.3559, allocations: 79.28 kB / 0.7713 GB, free: 15.37 MB / 0.545 GB Notification: Performance of Backend: time 2e-07/0.3559, allocations: 0 / 0.7713 GB, free: 15.37 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003759/0.3563, allocations: 126.3 kB / 0.7714 GB, free: 15.24 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003368/0.3566, allocations: 0.5505 MB / 0.7719 GB, free: 14.64 MB / 0.545 GB Notification: Performance of Templates: time 0.002446/0.3591, allocations: 0.7543 MB / 0.7727 GB, free: 13.89 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)