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.001113/0.001113, allocations: 105.2 kB / 16.41 MB, free: 6.5 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.0009895/0.0009895, allocations: 187 kB / 17.34 MB, free: 5.742 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.277/1.277, allocations: 222.9 MB / 241 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.002268/0.002268, allocations: 291.9 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.9057/0.9057, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 99.78 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4368/0.4389, allocations: 86.98 MB / 0.767 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.00268/0.4417, allocations: 1.484 MB / 0.7685 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.443, allocations: 0.8087 MB / 0.7693 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.716e-05/0.443, allocations: 0 / 0.7693 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.052e-05/0.4431, allocations: 3.938 kB / 0.7693 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.391e-05/0.4432, allocations: 15.88 kB / 0.7693 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005134/0.4437, allocations: 127.4 kB / 0.7694 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.4438, allocations: 63.7 kB / 0.7695 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.4439, allocations: 11.66 kB / 0.7695 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.563e-05/0.444, allocations: 19.92 kB / 0.7695 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.606e-05/0.444, allocations: 27.91 kB / 0.7695 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.4441, allocations: 8 kB / 0.7695 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000347/0.4444, allocations: 167.8 kB / 0.7697 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.25e-05/0.4445, allocations: 12 kB / 0.7697 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.18e-05/0.4445, allocations: 23.8 kB / 0.7697 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.4448, allocations: 146.2 kB / 0.7699 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4448, allocations: 0 / 0.7699 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4448, allocations: 0 / 0.7699 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.4448, allocations: 4 kB / 0.7699 GB, free: 0.9766 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.0005748/0.4454, allocations: 395.2 kB / 0.7703 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.4454, allocations: 8.031 kB / 0.7703 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.4455, allocations: 4.938 kB / 0.7703 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.4456, allocations: 176.2 kB / 0.7704 GB, free: 324 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.4456, allocations: 4.375 kB / 0.7704 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.4456, allocations: 12.25 kB / 0.7704 GB, free: 308 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.4459, allocations: 74.22 kB / 0.7705 GB, free: 228 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.4459, allocations: 192 / 0.7705 GB, free: 228 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.4459, allocations: 7.938 kB / 0.7705 GB, free: 220 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.446, allocations: 0 / 0.7705 GB, free: 220 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002651/0.4462, allocations: 67.92 kB / 0.7706 GB, free: 152 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/0.4466, allocations: 288.7 kB / 0.7709 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.4468, allocations: 58.53 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.447, allocations: 32.92 kB / 0.771 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001846/0.4472, allocations: 93.09 kB / 0.771 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.4472, allocations: 38.55 kB / 0.7711 GB, free: 15.56 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.4472, allocations: 4 kB / 0.7711 GB, free: 15.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005051/0.4477, allocations: 125.7 kB / 0.7712 GB, free: 15.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.4478, allocations: 51.41 kB / 0.7713 GB, free: 15.36 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.4479, allocations: 125.8 kB / 0.7714 GB, free: 15.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.4479, allocations: 25.7 kB / 0.7714 GB, free: 15.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.954e-05/0.448, allocations: 96.05 kB / 0.7715 GB, free: 15.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.448, allocations: 7.844 kB / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.448, allocations: 17.72 kB / 0.7715 GB, free: 15.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.737e-05/0.4481, allocations: 318.8 kB / 0.7718 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.4483, allocations: 27.97 kB / 0.7718 GB, free: 14.72 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.4484, allocations: 47.92 kB / 0.7719 GB, free: 14.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.4487, allocations: 68.78 kB / 0.772 GB, free: 14.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4487, allocations: 0 / 0.772 GB, free: 14.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002932/0.449, allocations: 105.5 kB / 0.7721 GB, free: 14.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.449, allocations: 8 kB / 0.7721 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.449, allocations: 0 / 0.7721 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.449, allocations: 0 / 0.7721 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.4491, allocations: 15.98 kB / 0.7721 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.4491, allocations: 0 / 0.7721 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.136e-05/0.4492, allocations: 11.98 kB / 0.7721 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.4493, allocations: 3.984 kB / 0.7721 GB, free: 14.46 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 8.054e-05/0.4493, allocations: 120.2 kB / 0.7722 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.4494, allocations: 7.938 kB / 0.7722 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003276/0.4497, allocations: 105.5 kB / 0.7723 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4497, allocations: 0 / 0.7723 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.4497, allocations: 4 kB / 0.7723 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.4497, allocations: 0 / 0.7723 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.4499, allocations: 173.6 kB / 0.7725 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4499, allocations: 4 kB / 0.7725 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.014e-05/0.45, allocations: 19.98 kB / 0.7725 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.45, allocations: 0 / 0.7725 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.45, allocations: 0 / 0.7725 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.45, allocations: 0 / 0.7725 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.45, allocations: 0 / 0.7725 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.4504, allocations: 203.3 kB / 0.7727 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.4504, allocations: 81.02 kB / 0.7728 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.4505, allocations: 4 kB / 0.7728 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.4506, allocations: 15.98 kB / 0.7728 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.4506, allocations: 3.984 kB / 0.7728 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.4506, allocations: 7.938 kB / 0.7728 GB, free: 13.62 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.907e-05/0.4507, allocations: 91.27 kB / 0.7729 GB, free: 13.53 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4507, allocations: 4 kB / 0.7729 GB, free: 13.53 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000273/0.451, allocations: 39.94 kB / 0.7729 GB, free: 13.49 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.0002413/0.4512, allocations: 127.3 kB / 0.7731 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003262/0.4516, allocations: 67.92 kB / 0.7731 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4516, allocations: 0 / 0.7731 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.4517, allocations: 35.97 kB / 0.7732 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.452, allocations: 26.77 kB / 0.7732 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003969/0.4524, allocations: 175.8 kB / 0.7734 GB, free: 13.03 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.4527, allocations: 0.6884 MB / 0.774 GB, free: 12.31 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.506e-05/0.4527, allocations: 15.44 kB / 0.774 GB, free: 12.3 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.4527, allocations: 0 / 0.774 GB, free: 12.3 MB / 0.545 GB Notification: Performance of Templates: time 0.003052/0.4558, allocations: 1.219 MB / 0.7752 GB, free: 11.09 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)