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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.7354/0.7354, allocations: 140.1 MB / 156 MB, free: 5.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 184.5 kB / 188.5 MB, free: 15.81 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 205.4 MB / 426.3 MB, free: 8.453 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007605/0.0007603, allocations: 108.1 kB / 0.4945 GB, free: 8.391 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.00159/0.00159, allocations: 273.8 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004863/0.0004865, allocations: 27.97 kB / 0.662 GB, free: 6.785 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3446, allocations: 79.29 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1259/0.4706, allocations: 108.8 MB / 0.8457 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.4709, allocations: 83.89 kB / 0.8458 GB, free: 1.309 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.007893/0.4788, allocations: 2.67 MB / 0.8484 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4788, allocations: 0 / 0.8484 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.4788, allocations: 4 kB / 0.8484 GB, free: 14.63 MB / 0.5261 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.0003352/0.4792, allocations: 363.5 kB / 0.8488 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.4792, allocations: 8.031 kB / 0.8488 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.4793, allocations: 8.781 kB / 0.8488 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.084e-05/0.4794, allocations: 164.4 kB / 0.8489 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.587e-05/0.4794, allocations: 34.23 kB / 0.849 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.4795, allocations: 8.312 kB / 0.849 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.4796, allocations: 42.25 kB / 0.849 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.4796, allocations: 7.938 kB / 0.849 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.4796, allocations: 4 kB / 0.849 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.4796, allocations: 0 / 0.849 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.086e-05/0.4797, allocations: 15.98 kB / 0.849 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.4798, allocations: 157.7 kB / 0.8492 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.48, allocations: 46.55 kB / 0.8492 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.282e-05/0.4801, allocations: 20.94 kB / 0.8493 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000221/0.4803, allocations: 182.2 kB / 0.8494 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.4803, allocations: 30.56 kB / 0.8495 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.4804, allocations: 0 / 0.8495 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0002171/0.4806, allocations: 73.55 kB / 0.8495 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.4806, allocations: 55.41 kB / 0.8496 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.641e-05/0.4807, allocations: 97.86 kB / 0.8497 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.4807, allocations: 25.7 kB / 0.8497 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.673e-05/0.4807, allocations: 80.14 kB / 0.8498 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.4808, allocations: 23.73 kB / 0.8498 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/0.4808, allocations: 0 / 0.8498 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.609e-05/0.4809, allocations: 310.8 kB / 0.8501 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.978e-05/0.4809, allocations: 8 kB / 0.8501 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.473e-05/0.481, allocations: 15.98 kB / 0.8501 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.94e-05/0.481, allocations: 28.84 kB / 0.8501 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.481, allocations: 0 / 0.8501 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001158/0.4812, allocations: 57.62 kB / 0.8502 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.4812, allocations: 7.938 kB / 0.8502 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.4812, allocations: 0 / 0.8502 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.4812, allocations: 4.453 kB / 0.8502 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.759e-05/0.4813, allocations: 11.98 kB / 0.8502 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.4813, allocations: 0 / 0.8502 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.574e-05/0.4813, allocations: 4 kB / 0.8502 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.4813, allocations: 0 / 0.8502 GB, free: 12.51 MB / 0.5261 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 (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 5.867e-05/0.4814, allocations: 113.8 kB / 0.8503 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.4814, allocations: 7.844 kB / 0.8503 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001585/0.4816, allocations: 73.09 kB / 0.8504 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.4816, allocations: 0 / 0.8504 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.4816, allocations: 3.938 kB / 0.8504 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4816, allocations: 3.984 kB / 0.8504 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.272e-05/0.4817, allocations: 161.7 kB / 0.8506 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4817, allocations: 0 / 0.8506 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.111e-05/0.4817, allocations: 4 kB / 0.8506 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4818, allocations: 3.938 kB / 0.8506 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.4818, allocations: 4 kB / 0.8506 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4818, allocations: 4 kB / 0.8506 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4818, allocations: 0 / 0.8506 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.4819, allocations: 89.11 kB / 0.8507 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.135e-05/0.482, allocations: 77.11 kB / 0.8507 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.482, allocations: 7.922 kB / 0.8508 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.129e-05/0.482, allocations: 4 kB / 0.8508 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.4821, allocations: 3.938 kB / 0.8508 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.4821, allocations: 4 kB / 0.8508 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.017e-05/0.4821, allocations: 83.27 kB / 0.8508 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4821, allocations: 0 / 0.8508 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002081/0.4823, allocations: 31.94 kB / 0.8509 GB, free: 11.74 MB / 0.5261 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 (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.0001933/0.4825, allocations: 147.1 kB / 0.851 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001243/0.4827, allocations: 27.98 kB / 0.851 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4827, allocations: 0 / 0.851 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.481e-05/0.4827, allocations: 19.92 kB / 0.8511 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.4829, allocations: 8 kB / 0.8511 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002418/0.4832, allocations: 143.7 kB / 0.8512 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.4834, allocations: 0.677 MB / 0.8519 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.443e-05/0.4834, allocations: 4 kB / 0.8519 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.77e-05/0.4835, allocations: 15.44 kB / 0.8519 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/0.4835, allocations: 0 / 0.8519 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of Templates: time 0.00271/0.4862, allocations: 0.9762 MB / 0.8528 GB, free: 9.672 MB / 0.5261 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)