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/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.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/BuildingSystems 2.0.0-master/package.mo): time 1.014/1.014, allocations: 143.4 MB / 159.2 MB, free: 4.914 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.001111/0.001111, allocations: 190.1 kB / 191.9 MB, free: 5.715 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.671/1.671, allocations: 222.9 MB / 447.3 MB, free: 5.832 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.0009346/0.0009346, allocations: 103.7 kB / 0.517 GB, free: 3.707 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003049/0.003049, allocations: 289.4 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 75.89 kB / 0.6885 GB, free: 3.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4123, allocations: 81.3 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002459/0.4148, allocations: 1.545 MB / 0.7694 GB, free: 26.1 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.4159, allocations: 0.8373 MB / 0.7703 GB, free: 25.26 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.784e-05/0.4159, allocations: 0 / 0.7703 GB, free: 25.26 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.148e-05/0.416, allocations: 3.938 kB / 0.7703 GB, free: 25.25 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.423e-05/0.416, allocations: 15.91 kB / 0.7703 GB, free: 25.24 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.4164, allocations: 103.6 kB / 0.7704 GB, free: 25.14 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 7.236e-05/0.4165, allocations: 55.78 kB / 0.7704 GB, free: 25.08 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.307e-05/0.4166, allocations: 14.67 kB / 0.7704 GB, free: 25.07 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.713e-05/0.4166, allocations: 19.92 kB / 0.7705 GB, free: 25.05 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.395e-05/0.4167, allocations: 27.84 kB / 0.7705 GB, free: 25.02 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.4167, allocations: 4 kB / 0.7705 GB, free: 25.02 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002779/0.417, allocations: 175.7 kB / 0.7707 GB, free: 24.85 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.417, allocations: 0 / 0.7707 GB, free: 24.85 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.923e-05/0.417, allocations: 27.86 kB / 0.7707 GB, free: 24.82 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.4173, allocations: 143.6 kB / 0.7708 GB, free: 24.68 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4173, allocations: 4 kB / 0.7708 GB, free: 24.68 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.4173, allocations: 0 / 0.7708 GB, free: 24.68 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.4173, allocations: 0 / 0.7708 GB, free: 24.68 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005085/0.4178, allocations: 395.3 kB / 0.7712 GB, free: 24.24 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.4178, allocations: 8.031 kB / 0.7712 GB, free: 24.23 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.4179, allocations: 8.844 kB / 0.7712 GB, free: 24.22 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.418, allocations: 176.2 kB / 0.7714 GB, free: 24.01 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.418, allocations: 4.375 kB / 0.7714 GB, free: 24.01 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.418, allocations: 8.375 kB / 0.7714 GB, free: 24 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.4183, allocations: 74.2 kB / 0.7715 GB, free: 23.92 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.4183, allocations: 192 / 0.7715 GB, free: 23.92 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.4183, allocations: 3.938 kB / 0.7715 GB, free: 23.92 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.4183, allocations: 7.984 kB / 0.7715 GB, free: 23.91 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/0.4186, allocations: 63.94 kB / 0.7715 GB, free: 23.85 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003008/0.4189, allocations: 288.7 kB / 0.7718 GB, free: 23.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.4191, allocations: 50.53 kB / 0.7719 GB, free: 23.46 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.4192, allocations: 44.92 kB / 0.7719 GB, free: 23.41 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001713/0.4194, allocations: 89.09 kB / 0.772 GB, free: 23.3 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.4194, allocations: 34.55 kB / 0.772 GB, free: 23.26 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.4194, allocations: 3.938 kB / 0.772 GB, free: 23.26 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005759/0.42, allocations: 133.5 kB / 0.7722 GB, free: 23.12 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.4201, allocations: 51.41 kB / 0.7722 GB, free: 23.06 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.4202, allocations: 121.8 kB / 0.7723 GB, free: 22.93 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.4202, allocations: 25.7 kB / 0.7723 GB, free: 22.9 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.721e-05/0.4203, allocations: 88.08 kB / 0.7724 GB, free: 22.81 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.4203, allocations: 19.75 kB / 0.7724 GB, free: 22.79 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.4204, allocations: 9.719 kB / 0.7725 GB, free: 22.77 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.216e-05/0.4204, allocations: 330.8 kB / 0.7728 GB, free: 22.44 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.4206, allocations: 27.97 kB / 0.7728 GB, free: 22.41 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.4207, allocations: 35.95 kB / 0.7728 GB, free: 22.38 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.421, allocations: 72.78 kB / 0.7729 GB, free: 22.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.421, allocations: 0 / 0.7729 GB, free: 22.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002925/0.4213, allocations: 101.9 kB / 0.773 GB, free: 22.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.4213, allocations: 4 kB / 0.773 GB, free: 22.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4213, allocations: 3.984 kB / 0.773 GB, free: 22.19 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.4214, allocations: 0 / 0.773 GB, free: 22.19 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.4215, allocations: 19.98 kB / 0.773 GB, free: 22.17 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.4215, allocations: 0 / 0.773 GB, free: 22.17 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.472e-05/0.4216, allocations: 15.89 kB / 0.773 GB, free: 22.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.4216, allocations: 3.984 kB / 0.773 GB, free: 22.15 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 (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 7.489e-05/0.4217, allocations: 114.3 kB / 0.7732 GB, free: 22.03 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.4217, allocations: 4 kB / 0.7732 GB, free: 22.03 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003654/0.4221, allocations: 113.5 kB / 0.7733 GB, free: 21.91 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.4221, allocations: 0 / 0.7733 GB, free: 21.91 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4221, allocations: 0 / 0.7733 GB, free: 21.91 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4221, allocations: 0 / 0.7733 GB, free: 21.91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.4222, allocations: 177.6 kB / 0.7734 GB, free: 21.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.4223, allocations: 0 / 0.7734 GB, free: 21.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.521e-05/0.4223, allocations: 11.98 kB / 0.7734 GB, free: 21.67 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4224, allocations: 0 / 0.7734 GB, free: 21.67 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.4224, allocations: 4 kB / 0.7734 GB, free: 21.67 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4224, allocations: 4 kB / 0.7735 GB, free: 21.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4224, allocations: 0 / 0.7735 GB, free: 21.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006215/0.423, allocations: 0.7824 MB / 0.7742 GB, free: 20.82 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.112e-05/0.423, allocations: 81.02 kB / 0.7743 GB, free: 20.73 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.4231, allocations: 0 / 0.7743 GB, free: 20.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.4232, allocations: 15.97 kB / 0.7743 GB, free: 20.71 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.53e-05/0.4232, allocations: 3.938 kB / 0.7743 GB, free: 20.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.4232, allocations: 4 kB / 0.7743 GB, free: 20.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.374e-05/0.4233, allocations: 99.2 kB / 0.7744 GB, free: 20.61 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4233, allocations: 0 / 0.7744 GB, free: 20.61 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003626/0.4237, allocations: 39.88 kB / 0.7744 GB, free: 20.57 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 (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.0002135/0.4239, allocations: 132.9 kB / 0.7746 GB, free: 20.43 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000318/0.4242, allocations: 67.92 kB / 0.7746 GB, free: 20.36 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4242, allocations: 0 / 0.7746 GB, free: 20.36 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.4244, allocations: 35.97 kB / 0.7747 GB, free: 20.33 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.4247, allocations: 14.56 kB / 0.7747 GB, free: 20.32 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.425, allocations: 271.7 kB / 0.7749 GB, free: 20.01 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.4252, allocations: 0.6887 MB / 0.7756 GB, free: 19.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.148e-05/0.4252, allocations: 4 kB / 0.7756 GB, free: 19.29 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.233e-05/0.4252, allocations: 7.438 kB / 0.7756 GB, free: 19.29 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4252, allocations: 3.938 kB / 0.7756 GB, free: 19.28 MB / 458.7 MB Notification: Performance of Templates: time 0.003115/0.4283, allocations: 1.251 MB / 0.7769 GB, free: 18.04 MB / 458.7 MB 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)