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 0.8371/0.8371, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.00111/0.00111, allocations: 184.1 kB / 182.2 MB, free: 9.453 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.342/1.342, allocations: 221.5 MB / 436.4 MB, free: 13.27 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.000881/0.000881, allocations: 96.09 kB / 0.5074 GB, free: 10.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001797/0.001797, allocations: 287.9 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.454e-05/2.454e-05, allocations: 4 kB / 0.6765 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3599, allocations: 82.78 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1245/0.4845, allocations: 109.6 MB / 0.8644 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.4847, allocations: 83.83 kB / 0.8645 GB, free: 2.184 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.008752/0.4935, allocations: 2.692 MB / 0.8671 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.935e-06/0.4935, allocations: 0 / 0.8671 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.4936, allocations: 7.875 kB / 0.8671 GB, free: 15.48 MB / 0.5417 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.0003637/0.4939, allocations: 350.4 kB / 0.8675 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.494, allocations: 8.031 kB / 0.8675 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.494, allocations: 12 kB / 0.8675 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.4942, allocations: 167 kB / 0.8676 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.561e-05/0.4943, allocations: 29.7 kB / 0.8677 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.4943, allocations: 3.938 kB / 0.8677 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.927e-05/0.4944, allocations: 8 kB / 0.8677 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.666e-05/0.4944, allocations: 37.69 kB / 0.8677 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.4945, allocations: 0 / 0.8677 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.4945, allocations: 0 / 0.8677 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.4945, allocations: 4 kB / 0.8677 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.4946, allocations: 142.1 kB / 0.8679 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.4948, allocations: 34.58 kB / 0.8679 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.165e-05/0.4949, allocations: 16.81 kB / 0.8679 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002688/0.4951, allocations: 178.3 kB / 0.8681 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.4952, allocations: 42.5 kB / 0.8681 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.4952, allocations: 4 kB / 0.8681 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0004874/0.4957, allocations: 93.61 kB / 0.8682 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.4957, allocations: 51.41 kB / 0.8683 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.606e-05/0.4958, allocations: 92.98 kB / 0.8683 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.4958, allocations: 25.7 kB / 0.8684 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.532e-05/0.4958, allocations: 80.14 kB / 0.8684 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.4959, allocations: 19.75 kB / 0.8685 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.4959, allocations: 0 / 0.8685 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.919e-05/0.496, allocations: 314.8 kB / 0.8688 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.767e-05/0.496, allocations: 8 kB / 0.8688 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.261e-05/0.496, allocations: 4 kB / 0.8688 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.4964, allocations: 55.92 kB / 0.8688 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4964, allocations: 0 / 0.8688 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003829/0.4968, allocations: 97.56 kB / 0.8689 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.4968, allocations: 7.953 kB / 0.8689 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4968, allocations: 0 / 0.8689 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.4968, allocations: 8 kB / 0.8689 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.759e-05/0.4969, allocations: 11.92 kB / 0.8689 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.4969, allocations: 0 / 0.8689 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.286e-05/0.497, allocations: 4 kB / 0.869 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.497, allocations: 0 / 0.869 GB, free: 13.37 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.921e-05/0.497, allocations: 101 kB / 0.869 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.4971, allocations: 4 kB / 0.8691 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004327/0.4975, allocations: 115 kB / 0.8692 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4975, allocations: 4 kB / 0.8692 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.4975, allocations: 3.938 kB / 0.8692 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4975, allocations: 4 kB / 0.8692 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.4976, allocations: 138.1 kB / 0.8693 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4976, allocations: 0 / 0.8693 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.213e-05/0.4977, allocations: 8 kB / 0.8693 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4977, allocations: 0 / 0.8693 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.4977, allocations: 0 / 0.8693 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.4977, allocations: 0 / 0.8693 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.4977, allocations: 3.953 kB / 0.8693 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004096/0.4982, allocations: 125 kB / 0.8694 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/0.4982, allocations: 81.11 kB / 0.8695 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.4982, allocations: 0 / 0.8695 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.394e-05/0.4983, allocations: 7.984 kB / 0.8695 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.4983, allocations: 0 / 0.8695 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.4984, allocations: 7.891 kB / 0.8695 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.159e-05/0.4984, allocations: 79.75 kB / 0.8696 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4984, allocations: 4 kB / 0.8696 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002405/0.4987, allocations: 43.92 kB / 0.8697 GB, free: 12.56 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000222/0.4989, allocations: 143.1 kB / 0.8698 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.237e-05/0.499, allocations: 16.14 kB / 0.8698 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.499, allocations: 0 / 0.8698 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.263e-05/0.499, allocations: 11.94 kB / 0.8698 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.4992, allocations: 9.031 kB / 0.8698 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001751/0.4994, allocations: 60.12 kB / 0.8699 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.4996, allocations: 0.6807 MB / 0.8705 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.851e-05/0.4997, allocations: 6.172 kB / 0.8706 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.219e-05/0.4997, allocations: 15.42 kB / 0.8706 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of SimCode: time 4.61e-07/0.4997, allocations: 4 kB / 0.8706 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of Templates: time 0.002976/0.5027, allocations: 0.9315 MB / 0.8715 GB, free: 10.64 MB / 0.5417 GB 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)