Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7704/0.7704, allocations: 141.7 MB / 154.3 MB, free: 15.47 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 181.1 kB / 187.3 MB, free: 11.88 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.624/1.624, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.000923/0.000923, allocations: 98.28 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001799/0.001799, allocations: 271.8 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.228e-05/3.23e-05, allocations: 4 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4681/0.4682, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.32/4.788, allocations: 1.691 GB / 2.456 GB, free: 52 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/4.789, allocations: 91.52 kB / 2.456 GB, free: 51.96 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5966/5.385, allocations: 86.4 MB / 2.54 GB, free: 246 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.245e-06/5.385, allocations: 3.75 kB / 2.54 GB, free: 246 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.66e-05/5.386, allocations: 6.812 kB / 2.54 GB, free: 246 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008425/5.386, allocations: 0.4917 MB / 2.541 GB, free: 245.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/5.386, allocations: 9.531 kB / 2.541 GB, free: 245.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007496/5.387, allocations: 72.47 kB / 2.541 GB, free: 245.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/5.387, allocations: 224 kB / 2.541 GB, free: 245.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.925e-05/5.388, allocations: 40.53 kB / 2.541 GB, free: 245.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/5.388, allocations: 22.22 kB / 2.541 GB, free: 245.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/5.388, allocations: 236.3 kB / 2.541 GB, free: 245.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/5.388, allocations: 2.906 kB / 2.541 GB, free: 245.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/5.388, allocations: 13.16 kB / 2.541 GB, free: 245.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/5.388, allocations: 7.031 kB / 2.541 GB, free: 245.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002263/5.388, allocations: 125 kB / 2.541 GB, free: 245.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/5.39, allocations: 1.189 MB / 2.542 GB, free: 244.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006519/5.39, allocations: 196.1 kB / 2.543 GB, free: 244.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.917e-05/5.39, allocations: 57.86 kB / 2.543 GB, free: 244 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/5.39, allocations: 3.984 kB / 2.543 GB, free: 244 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/5.391, allocations: 34.5 kB / 2.543 GB, free: 244 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.713e-06/5.391, allocations: 0 / 2.543 GB, free: 244 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.001145/5.392, allocations: 286.1 kB / 2.543 GB, free: 243.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/5.392, allocations: 55.28 kB / 2.543 GB, free: 243.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/5.392, allocations: 174.6 kB / 2.543 GB, free: 243.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/5.392, allocations: 29.7 kB / 2.543 GB, free: 243.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.387e-05/5.392, allocations: 134.3 kB / 2.543 GB, free: 243.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/5.392, allocations: 52.3 kB / 2.543 GB, free: 243.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.252e-05/5.392, allocations: 0 / 2.543 GB, free: 243.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.041e-05/5.392, allocations: 334.5 kB / 2.544 GB, free: 243.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.664e-05/5.392, allocations: 51.06 kB / 2.544 GB, free: 243.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/5.392, allocations: 121.7 kB / 2.544 GB, free: 243.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/5.392, allocations: 63.91 kB / 2.544 GB, free: 243.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/5.392, allocations: 3.281 kB / 2.544 GB, free: 243.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0011/5.394, allocations: 338.2 kB / 2.544 GB, free: 242.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/5.394, allocations: 6.75 kB / 2.544 GB, free: 242.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/5.394, allocations: 0 / 2.544 GB, free: 242.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009739/5.395, allocations: 171.7 kB / 2.544 GB, free: 242.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/5.395, allocations: 43.89 kB / 2.545 GB, free: 242.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002963/5.398, allocations: 3.032 MB / 2.547 GB, free: 240.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003375/5.398, allocations: 29.23 kB / 2.548 GB, free: 240.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/5.398, allocations: 15.36 kB / 2.548 GB, free: 240.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 8.252e-05/5.398, allocations: 115 kB / 2.548 GB, free: 240 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-05/5.398, allocations: 17.11 kB / 2.548 GB, free: 240 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/5.399, allocations: 349.9 kB / 2.548 GB, free: 239.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/5.399, allocations: 1.781 kB / 2.548 GB, free: 239.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/5.399, allocations: 7.953 kB / 2.548 GB, free: 239.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/5.399, allocations: 0 / 2.548 GB, free: 239.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/5.4, allocations: 266.9 kB / 2.548 GB, free: 239.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/5.4, allocations: 7.438 kB / 2.548 GB, free: 239.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/5.4, allocations: 21.73 kB / 2.548 GB, free: 239.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008322/5.401, allocations: 167.8 kB / 2.548 GB, free: 239.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/5.401, allocations: 7.5 kB / 2.548 GB, free: 239.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002565/5.403, allocations: 3.073 MB / 2.551 GB, free: 236.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/5.403, allocations: 0 / 2.551 GB, free: 236.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009678/5.404, allocations: 408.9 kB / 2.552 GB, free: 236.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.838e-05/5.404, allocations: 116.9 kB / 2.552 GB, free: 236.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/5.404, allocations: 4 kB / 2.552 GB, free: 236.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/5.405, allocations: 20 kB / 2.552 GB, free: 236.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.252e-05/5.405, allocations: 14.7 kB / 2.552 GB, free: 236.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/5.405, allocations: 6.859 kB / 2.552 GB, free: 236.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.92e-05/5.405, allocations: 149.8 kB / 2.552 GB, free: 236.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/5.405, allocations: 0 / 2.552 GB, free: 236.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005713/5.405, allocations: 127.7 kB / 2.552 GB, free: 236.2 MB / 0.698 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 (12): * Single equations (assignments): 10 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007787/5.406, allocations: 0.7124 MB / 2.553 GB, free: 236 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007113/5.407, allocations: 407 kB / 2.553 GB, free: 235.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/5.407, allocations: 4 kB / 2.553 GB, free: 235.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000488/5.407, allocations: 338.9 kB / 2.554 GB, free: 235.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/5.408, allocations: 58.67 kB / 2.554 GB, free: 235.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006459/5.408, allocations: 295.1 kB / 2.554 GB, free: 235.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/5.409, allocations: 0.734 MB / 2.555 GB, free: 234.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001834/5.409, allocations: 40.53 kB / 2.555 GB, free: 234.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.71e-05/5.409, allocations: 26.41 kB / 2.555 GB, free: 234.5 MB / 0.698 GB Notification: Performance of SimCode: time 2.9e-07/5.409, allocations: 0 / 2.555 GB, free: 234.5 MB / 0.698 GB Notification: Performance of Templates: time 0.01793/5.427, allocations: 16.29 MB / 2.571 GB, free: 221 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)