Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 107.1 kB / 16.41 MB, free: 6.461 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.001245/0.001245, allocations: 192 kB / 17.34 MB, free: 5.699 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.405/1.405, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002626/0.002626, allocations: 288.9 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.015/1.015, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00272/0.00272, allocations: 91.84 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4474/0.4501, allocations: 86.97 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002752/0.4529, allocations: 1.492 MB / 0.7685 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.4544, allocations: 0.8125 MB / 0.7693 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.464e-05/0.4545, allocations: 0 / 0.7693 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.962e-05/0.4545, allocations: 7.938 kB / 0.7693 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.886e-05/0.4546, allocations: 7.938 kB / 0.7693 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000662/0.4552, allocations: 127.4 kB / 0.7694 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.4553, allocations: 55.78 kB / 0.7695 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.4555, allocations: 19.77 kB / 0.7695 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.128e-05/0.4555, allocations: 23.92 kB / 0.7695 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.104e-05/0.4556, allocations: 15.92 kB / 0.7695 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.4556, allocations: 8 kB / 0.7695 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003887/0.456, allocations: 179.7 kB / 0.7697 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/0.456, allocations: 11.92 kB / 0.7697 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.933e-05/0.4561, allocations: 23.81 kB / 0.7698 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003328/0.4564, allocations: 141.5 kB / 0.7699 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.4564, allocations: 0 / 0.7699 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.737e-06/0.4564, allocations: 0 / 0.7699 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.4564, allocations: 0 / 0.7699 GB, free: 1.008 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007703/0.4572, allocations: 402.9 kB / 0.7703 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.4573, allocations: 20.02 kB / 0.7703 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.4573, allocations: 4.891 kB / 0.7703 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.4575, allocations: 172.3 kB / 0.7705 GB, free: 340 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.4575, allocations: 4.375 kB / 0.7705 GB, free: 336 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.4575, allocations: 4.375 kB / 0.7705 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/0.4578, allocations: 74.2 kB / 0.7705 GB, free: 252 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.4578, allocations: 192 / 0.7705 GB, free: 252 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.4579, allocations: 3.938 kB / 0.7705 GB, free: 248 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.4579, allocations: 8 kB / 0.7705 GB, free: 240 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003294/0.4582, allocations: 63.92 kB / 0.7706 GB, free: 176 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005643/0.4588, allocations: 292.7 kB / 0.7709 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.459, allocations: 54.53 kB / 0.7709 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.4592, allocations: 40.91 kB / 0.771 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002099/0.4594, allocations: 93.09 kB / 0.7711 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.4594, allocations: 30.56 kB / 0.7711 GB, free: 15.58 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4594, allocations: 0 / 0.7711 GB, free: 15.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.000612/0.46, allocations: 129.5 kB / 0.7712 GB, free: 15.45 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.4601, allocations: 51.41 kB / 0.7713 GB, free: 15.39 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.4602, allocations: 125.8 kB / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.4602, allocations: 25.7 kB / 0.7714 GB, free: 15.22 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.577e-05/0.4603, allocations: 92.14 kB / 0.7715 GB, free: 15.13 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.4603, allocations: 7.906 kB / 0.7715 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.4603, allocations: 21.7 kB / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.4605, allocations: 314.8 kB / 0.7718 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.4607, allocations: 31.97 kB / 0.7719 GB, free: 14.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.4608, allocations: 31.95 kB / 0.7719 GB, free: 14.71 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002853/0.4611, allocations: 76.72 kB / 0.772 GB, free: 14.64 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.4611, allocations: 0 / 0.772 GB, free: 14.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003468/0.4615, allocations: 97.89 kB / 0.7721 GB, free: 14.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.4615, allocations: 6.188 kB / 0.7721 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.4615, allocations: 7.984 kB / 0.7721 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.4615, allocations: 0 / 0.7721 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.4616, allocations: 27.92 kB / 0.7721 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.4616, allocations: 0 / 0.7721 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.236e-05/0.4617, allocations: 19.92 kB / 0.7721 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.4617, allocations: 0 / 0.7721 GB, free: 14.48 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.738e-05/0.4618, allocations: 116.2 kB / 0.7722 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.4618, allocations: 4 kB / 0.7722 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003963/0.4622, allocations: 117.4 kB / 0.7723 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.4622, allocations: 4 kB / 0.7723 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4623, allocations: 0 / 0.7723 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.4623, allocations: 0 / 0.7723 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.4625, allocations: 173.6 kB / 0.7725 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4625, allocations: 0 / 0.7725 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.4626, allocations: 19.98 kB / 0.7725 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.4626, allocations: 0 / 0.7725 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.4626, allocations: 4 kB / 0.7725 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4626, allocations: 0 / 0.7725 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4626, allocations: 0 / 0.7725 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/0.463, allocations: 207.3 kB / 0.7727 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.463, allocations: 81.06 kB / 0.7728 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.4631, allocations: 0 / 0.7728 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.4632, allocations: 15.98 kB / 0.7728 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/0.4632, allocations: 3.984 kB / 0.7728 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.4632, allocations: 4 kB / 0.7728 GB, free: 13.64 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.038e-05/0.4633, allocations: 91.27 kB / 0.7729 GB, free: 13.55 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.4633, allocations: 0 / 0.7729 GB, free: 13.55 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002932/0.4636, allocations: 35.88 kB / 0.773 GB, free: 13.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 (3): * Single equations (assignments): 3 * 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.0002408/0.4638, allocations: 139.1 kB / 0.7731 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003702/0.4642, allocations: 67.92 kB / 0.7732 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.4642, allocations: 0 / 0.7732 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.4644, allocations: 39.91 kB / 0.7732 GB, free: 13.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.4647, allocations: 15.92 kB / 0.7732 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003833/0.4651, allocations: 139.2 kB / 0.7733 GB, free: 13.09 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.4655, allocations: 0.6885 MB / 0.774 GB, free: 12.37 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.621e-05/0.4655, allocations: 4 kB / 0.774 GB, free: 12.37 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.248e-05/0.4655, allocations: 15.44 kB / 0.774 GB, free: 12.35 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.4655, allocations: 0 / 0.774 GB, free: 12.35 MB / 0.545 GB Notification: Performance of Templates: time 0.004403/0.4699, allocations: 1.379 MB / 0.7754 GB, free: 10.98 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)