Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.003/1.003, allocations: 143.4 MB / 159.2 MB, free: 4.879 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 192.5 kB / 191.9 MB, free: 5.746 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 447.3 MB, free: 5.871 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009519/0.0009519, allocations: 107.7 kB / 0.517 GB, free: 3.719 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001954/0.001954, allocations: 280.8 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.002471/0.002471, allocations: 79.88 kB / 0.6885 GB, free: 3.859 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3397, allocations: 81.3 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002079/0.3418, allocations: 1.34 MB / 0.7692 GB, free: 26.34 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.3429, allocations: 0.8394 MB / 0.77 GB, free: 25.5 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.963e-05/0.343, allocations: 0 / 0.77 GB, free: 25.5 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.563e-05/0.343, allocations: 3.938 kB / 0.7701 GB, free: 25.49 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.166e-05/0.3431, allocations: 3.984 kB / 0.7701 GB, free: 25.49 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004157/0.3435, allocations: 111.5 kB / 0.7702 GB, free: 25.38 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.197e-05/0.3436, allocations: 27.88 kB / 0.7702 GB, free: 25.35 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.3e-05/0.3436, allocations: 7.984 kB / 0.7702 GB, free: 25.34 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.407e-05/0.3437, allocations: 11.98 kB / 0.7702 GB, free: 25.33 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.504e-05/0.3437, allocations: 11.92 kB / 0.7702 GB, free: 25.32 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.3437, allocations: 4 kB / 0.7702 GB, free: 25.32 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002833/0.344, allocations: 167.7 kB / 0.7704 GB, free: 25.15 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.344, allocations: 7.984 kB / 0.7704 GB, free: 25.14 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.3441, allocations: 7.938 kB / 0.7704 GB, free: 25.14 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.3443, allocations: 126.4 kB / 0.7705 GB, free: 25.02 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3443, allocations: 0 / 0.7705 GB, free: 25.02 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3443, allocations: 4 kB / 0.7705 GB, free: 25.01 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.3443, allocations: 0 / 0.7705 GB, free: 25.01 MB / 458.7 MB 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.0004111/0.3448, allocations: 355.5 kB / 0.7709 GB, free: 24.61 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.3448, allocations: 8.031 kB / 0.7709 GB, free: 24.61 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.3448, allocations: 8.844 kB / 0.7709 GB, free: 24.6 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.812e-05/0.3449, allocations: 168.4 kB / 0.771 GB, free: 24.39 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.874e-05/0.345, allocations: 34.27 kB / 0.7711 GB, free: 24.36 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.345, allocations: 384 / 0.7711 GB, free: 24.36 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.3452, allocations: 50.25 kB / 0.7711 GB, free: 24.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.3452, allocations: 7.922 kB / 0.7711 GB, free: 24.29 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.3452, allocations: 3.938 kB / 0.7711 GB, free: 24.29 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.3452, allocations: 0 / 0.7711 GB, free: 24.29 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.159e-05/0.3453, allocations: 23.92 kB / 0.7712 GB, free: 24.27 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001293/0.3454, allocations: 157.6 kB / 0.7713 GB, free: 24.06 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.3457, allocations: 46.61 kB / 0.7713 GB, free: 24.01 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.297e-05/0.3457, allocations: 16.94 kB / 0.7714 GB, free: 23.99 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002345/0.346, allocations: 182.2 kB / 0.7715 GB, free: 23.77 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.346, allocations: 30.56 kB / 0.7716 GB, free: 23.73 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.346, allocations: 4 kB / 0.7716 GB, free: 23.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002285/0.3462, allocations: 69.55 kB / 0.7716 GB, free: 23.66 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.3463, allocations: 59.41 kB / 0.7717 GB, free: 23.59 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.729e-05/0.3463, allocations: 89.86 kB / 0.7718 GB, free: 23.49 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.3463, allocations: 33.7 kB / 0.7718 GB, free: 23.45 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.546e-05/0.3464, allocations: 84.12 kB / 0.7719 GB, free: 23.36 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.3464, allocations: 7.812 kB / 0.7719 GB, free: 23.36 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.3464, allocations: 17.72 kB / 0.7719 GB, free: 23.33 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.85e-05/0.3465, allocations: 314.8 kB / 0.7722 GB, free: 23.02 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.863e-05/0.3465, allocations: 15.98 kB / 0.7722 GB, free: 23 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.763e-05/0.3466, allocations: 8 kB / 0.7722 GB, free: 22.99 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.328e-05/0.3467, allocations: 28.78 kB / 0.7723 GB, free: 22.96 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3467, allocations: 4 kB / 0.7723 GB, free: 22.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001145/0.3468, allocations: 57.67 kB / 0.7723 GB, free: 22.89 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.3468, allocations: 9.344 kB / 0.7723 GB, free: 22.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3468, allocations: 0 / 0.7723 GB, free: 22.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3468, allocations: 8 kB / 0.7723 GB, free: 22.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.593e-05/0.3469, allocations: 8 kB / 0.7723 GB, free: 22.87 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.3469, allocations: 0 / 0.7723 GB, free: 22.87 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.912e-05/0.3469, allocations: 11.89 kB / 0.7724 GB, free: 22.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.3469, allocations: 0 / 0.7724 GB, free: 22.86 MB / 458.7 MB 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.368e-05/0.347, allocations: 110.6 kB / 0.7725 GB, free: 22.74 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.347, allocations: 7.938 kB / 0.7725 GB, free: 22.73 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.3472, allocations: 69.61 kB / 0.7725 GB, free: 22.66 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3472, allocations: 4 kB / 0.7725 GB, free: 22.66 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.3472, allocations: 4 kB / 0.7725 GB, free: 22.65 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3472, allocations: 0 / 0.7725 GB, free: 22.65 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.96e-05/0.3473, allocations: 153.7 kB / 0.7727 GB, free: 22.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3473, allocations: 3.984 kB / 0.7727 GB, free: 22.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.122e-05/0.3473, allocations: 11.98 kB / 0.7727 GB, free: 22.44 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3473, allocations: 3.938 kB / 0.7727 GB, free: 22.43 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.3474, allocations: 0 / 0.7727 GB, free: 22.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3474, allocations: 0 / 0.7727 GB, free: 22.43 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3474, allocations: 0 / 0.7727 GB, free: 22.43 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.3476, allocations: 0.6473 MB / 0.7733 GB, free: 21.73 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.476e-05/0.3477, allocations: 84.95 kB / 0.7734 GB, free: 21.62 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.3477, allocations: 4 kB / 0.7734 GB, free: 21.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.657e-05/0.3478, allocations: 7.984 kB / 0.7734 GB, free: 21.61 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.3478, allocations: 4 kB / 0.7734 GB, free: 21.61 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.3478, allocations: 0 / 0.7734 GB, free: 21.61 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.857e-05/0.3478, allocations: 87.22 kB / 0.7735 GB, free: 21.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3479, allocations: 0 / 0.7735 GB, free: 21.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003337/0.3482, allocations: 31.98 kB / 0.7736 GB, free: 21.49 MB / 458.7 MB 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.0001881/0.3484, allocations: 147.1 kB / 0.7737 GB, free: 21.34 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001285/0.3485, allocations: 27.92 kB / 0.7737 GB, free: 21.31 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3485, allocations: 0 / 0.7737 GB, free: 21.31 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.68e-05/0.3486, allocations: 16 kB / 0.7737 GB, free: 21.29 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.3488, allocations: 13.67 kB / 0.7737 GB, free: 21.28 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003068/0.3492, allocations: 231.9 kB / 0.774 GB, free: 21.01 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.3493, allocations: 0.677 MB / 0.7746 GB, free: 20.31 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.522e-05/0.3493, allocations: 11.98 kB / 0.7746 GB, free: 20.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.628e-05/0.3494, allocations: 11.44 kB / 0.7747 GB, free: 20.29 MB / 458.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3494, allocations: 0 / 0.7747 GB, free: 20.29 MB / 458.7 MB Notification: Performance of Templates: time 0.002925/0.3523, allocations: 1.03 MB / 0.7757 GB, free: 19.26 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)