Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7382/0.7382, allocations: 140.1 MB / 156 MB, free: 5.172 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.001001/0.001001, allocations: 187.5 kB / 188.5 MB, free: 15.84 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.434/1.434, allocations: 205.4 MB / 426.3 MB, free: 8.469 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.0008263/0.0008264, allocations: 104.8 kB / 0.4945 GB, free: 8.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001585/0.001585, allocations: 269.6 kB / 0.5728 GB, free: 66.24 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004841/0.0004842, allocations: 19.98 kB / 0.662 GB, free: 6.824 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3641, allocations: 79.3 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1264/0.4906, allocations: 108.6 MB / 0.8455 GB, free: 1.617 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/0.4909, allocations: 79.95 kB / 0.8456 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01818/0.5091, allocations: 6.216 MB / 0.8517 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5092, allocations: 0 / 0.8517 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.5092, allocations: 4 kB / 0.8517 GB, free: 11.31 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.0004134/0.5096, allocations: 375.4 kB / 0.852 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.5097, allocations: 8.031 kB / 0.852 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.5098, allocations: 4.938 kB / 0.8521 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.514e-05/0.5099, allocations: 168.3 kB / 0.8522 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.5099, allocations: 4.375 kB / 0.8522 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.51, allocations: 384 / 0.8522 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.5101, allocations: 42.25 kB / 0.8523 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.5101, allocations: 192 / 0.8523 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.5101, allocations: 3.938 kB / 0.8523 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.5101, allocations: 0 / 0.8523 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.215e-05/0.5102, allocations: 23.92 kB / 0.8523 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.5104, allocations: 161.6 kB / 0.8524 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007792/0.5111, allocations: 122.6 kB / 0.8526 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.843e-05/0.5112, allocations: 16.86 kB / 0.8526 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001138/0.5113, allocations: 93.06 kB / 0.8527 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.5113, allocations: 34.56 kB / 0.8527 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.5114, allocations: 0 / 0.8527 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0001698/0.5115, allocations: 73.56 kB / 0.8528 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.5116, allocations: 55.34 kB / 0.8528 GB, free: 9.949 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.278e-05/0.5116, allocations: 93.84 kB / 0.8529 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.5116, allocations: 25.7 kB / 0.8529 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.667e-05/0.5117, allocations: 80.14 kB / 0.853 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.5117, allocations: 15.81 kB / 0.853 GB, free: 9.719 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-06/0.5117, allocations: 0 / 0.853 GB, free: 9.719 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.279e-05/0.5118, allocations: 310.8 kB / 0.8533 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.915e-05/0.5119, allocations: 12.12 kB / 0.8533 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.558e-05/0.5119, allocations: 7.984 kB / 0.8533 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.805e-05/0.5119, allocations: 24.86 kB / 0.8534 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5119, allocations: 3.938 kB / 0.8534 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.839e-05/0.512, allocations: 57.62 kB / 0.8534 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.5121, allocations: 7.984 kB / 0.8534 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.5121, allocations: 7.938 kB / 0.8534 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.5121, allocations: 0 / 0.8534 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.635e-05/0.5121, allocations: 4 kB / 0.8534 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.5122, allocations: 4 kB / 0.8534 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.734e-05/0.5122, allocations: 4 kB / 0.8534 GB, free: 9.266 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.5122, allocations: 4 kB / 0.8534 GB, free: 9.262 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 6.349e-05/0.5123, allocations: 109.8 kB / 0.8536 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/0.5123, allocations: 4 kB / 0.8536 GB, free: 9.141 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/0.5125, allocations: 92.97 kB / 0.8536 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.5125, allocations: 0 / 0.8536 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5126, allocations: 0 / 0.8536 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.5126, allocations: 0 / 0.8536 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.5127, allocations: 157.7 kB / 0.8538 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5127, allocations: 0 / 0.8538 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.167e-05/0.5127, allocations: 8 kB / 0.8538 GB, free: 8.828 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.5128, allocations: 0 / 0.8538 GB, free: 8.828 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.5128, allocations: 3.938 kB / 0.8538 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.5128, allocations: 0 / 0.8538 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.5128, allocations: 7.984 kB / 0.8538 GB, free: 8.816 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.5129, allocations: 88.97 kB / 0.8539 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.257e-05/0.513, allocations: 81.11 kB / 0.854 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.513, allocations: 7.938 kB / 0.854 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.13e-05/0.513, allocations: 0 / 0.854 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/0.5131, allocations: 7.984 kB / 0.854 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.5131, allocations: 0 / 0.854 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.296e-05/0.5131, allocations: 79.28 kB / 0.8541 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5131, allocations: 4 kB / 0.8541 GB, free: 8.516 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000261/0.5134, allocations: 51.94 kB / 0.8541 GB, free: 8.465 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 (5): * Single equations (assignments): 5 * 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.0003954/0.5138, allocations: 188.4 kB / 0.8543 GB, free: 8.281 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.5139, allocations: 31.98 kB / 0.8543 GB, free: 8.25 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.5139, allocations: 0 / 0.8543 GB, free: 8.25 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.75e-05/0.5139, allocations: 28.02 kB / 0.8544 GB, free: 8.223 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.5141, allocations: 0 / 0.8544 GB, free: 8.223 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003318/0.5144, allocations: 128.9 kB / 0.8545 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.5147, allocations: 0.677 MB / 0.8551 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.862e-05/0.5148, allocations: 12 kB / 0.8552 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.801e-05/0.5148, allocations: 11.42 kB / 0.8552 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of SimCode: time 3.81e-07/0.5148, allocations: 4 kB / 0.8552 GB, free: 7.336 MB / 0.5261 GB Notification: Performance of Templates: time 0.003303/0.5181, allocations: 1.015 MB / 0.8562 GB, free: 6.328 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)