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.001236/0.001236, allocations: 116.1 kB / 16.42 MB, free: 6.496 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.001185/0.001185, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.234/1.234, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002037/0.002037, allocations: 281.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8854/0.8854, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 88.09 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3591, allocations: 86.99 MB / 0.7671 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002076/0.3612, allocations: 1.253 MB / 0.7683 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005125/0.3617, allocations: 299 kB / 0.7686 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.354e-05/0.3618, allocations: 0 / 0.7686 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.318e-05/0.3618, allocations: 0 / 0.7686 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.637e-05/0.3618, allocations: 7.922 kB / 0.7686 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.3621, allocations: 47.77 kB / 0.7686 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.482e-05/0.3621, allocations: 19.91 kB / 0.7686 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.465e-05/0.3622, allocations: 4 kB / 0.7686 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.459e-05/0.3622, allocations: 15.94 kB / 0.7687 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.074e-05/0.3623, allocations: 4 kB / 0.7687 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.227e-06/0.3623, allocations: 0 / 0.7687 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.3624, allocations: 63.94 kB / 0.7687 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.328e-06/0.3624, allocations: 3.938 kB / 0.7687 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.137e-05/0.3625, allocations: 7.938 kB / 0.7687 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.3626, allocations: 47.47 kB / 0.7688 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3626, allocations: 0 / 0.7688 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.123e-06/0.3626, allocations: 0 / 0.7688 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.3626, allocations: 0 / 0.7688 GB, free: 2.082 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.0003279/0.3629, allocations: 342.2 kB / 0.7691 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.363, allocations: 8.031 kB / 0.7691 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002048/0.3632, allocations: 20.91 kB / 0.7691 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.241e-05/0.3633, allocations: 168.2 kB / 0.7693 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.3633, allocations: 4.375 kB / 0.7693 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.3633, allocations: 4.375 kB / 0.7693 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.123e-05/0.3634, allocations: 42.25 kB / 0.7693 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.3634, allocations: 192 / 0.7693 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3634, allocations: 7.938 kB / 0.7693 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3635, allocations: 0 / 0.7693 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.976e-05/0.3635, allocations: 15.98 kB / 0.7694 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001355/0.3636, allocations: 157.7 kB / 0.7695 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.3655, allocations: 270.4 kB / 0.7698 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.94e-05/0.3655, allocations: 20.86 kB / 0.7698 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.3655, allocations: 3.984 kB / 0.7698 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.3656, allocations: 34.56 kB / 0.7698 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3656, allocations: 0 / 0.7698 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001411/0.3657, allocations: 65.62 kB / 0.7699 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.3657, allocations: 55.41 kB / 0.7699 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.864e-05/0.3658, allocations: 93.8 kB / 0.77 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.3658, allocations: 25.7 kB / 0.7701 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.198e-05/0.3658, allocations: 80.14 kB / 0.7701 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.3659, allocations: 19.75 kB / 0.7702 GB, free: 484 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.3659, allocations: 17.7 kB / 0.7702 GB, free: 460 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.993e-05/0.366, allocations: 314.8 kB / 0.7705 GB, free: 136 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.754e-05/0.366, allocations: 8.125 kB / 0.7705 GB, free: 128 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.657e-05/0.3661, allocations: 8 kB / 0.7705 GB, free: 120 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.2e-05/0.3661, allocations: 28.84 kB / 0.7705 GB, free: 88 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3661, allocations: 0 / 0.7705 GB, free: 88 kB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.189e-05/0.3662, allocations: 53.97 kB / 0.7706 GB, free: 28 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.3662, allocations: 4 kB / 0.7706 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3662, allocations: 0 / 0.7706 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3662, allocations: 7.922 kB / 0.7706 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.657e-05/0.3663, allocations: 15.92 kB / 0.7706 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3663, allocations: 0 / 0.7706 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.111e-05/0.3664, allocations: 4.109 kB / 0.7706 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-06/0.3664, allocations: 3.938 kB / 0.7706 GB, free: 15.99 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 (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 5.847e-05/0.3664, allocations: 116.2 kB / 0.7707 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.817e-06/0.3664, allocations: 0 / 0.7707 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/0.3665, allocations: 11.44 kB / 0.7707 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3665, allocations: 3.984 kB / 0.7707 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.3665, allocations: 0 / 0.7707 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.3665, allocations: 81.11 kB / 0.7708 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-06/0.3666, allocations: 0 / 0.7708 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.253e-05/0.3666, allocations: 4 kB / 0.7708 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.3666, allocations: 7.984 kB / 0.7708 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001103/0.3668, allocations: 136.9 kB / 0.7709 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001264/0.3669, allocations: 226.7 kB / 0.7712 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.597e-05/0.3669, allocations: 15.98 kB / 0.7712 GB, free: 15.35 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.999e-05/0.367, allocations: 75.28 kB / 0.7712 GB, free: 15.27 MB / 0.545 GB Notification: Performance of Backend: time 2.3e-07/0.367, allocations: 4.094 kB / 0.7713 GB, free: 15.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000361/0.3673, allocations: 121.1 kB / 0.7714 GB, free: 15.14 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003377/0.3677, allocations: 0.5543 MB / 0.7719 GB, free: 14.54 MB / 0.545 GB Notification: Performance of Templates: time 0.002412/0.3701, allocations: 0.7619 MB / 0.7727 GB, free: 13.79 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)