Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7242/0.7242, 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.001032/0.001032, allocations: 180.6 kB / 188.5 MB, free: 15.82 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.44/1.44, allocations: 205.4 MB / 426.3 MB, free: 8.379 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.0008407/0.0008407, allocations: 101 kB / 0.4945 GB, free: 8.328 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001622/0.001623, allocations: 272.7 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005046/0.0005046, allocations: 16 kB / 0.662 GB, free: 6.816 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3505, allocations: 79.31 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1234/0.4739, allocations: 107.9 MB / 0.8448 GB, free: 2.312 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.4742, allocations: 75.95 kB / 0.8449 GB, free: 2.238 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.006441/0.4807, allocations: 2.399 MB / 0.8473 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.026e-06/0.4807, allocations: 3.938 kB / 0.8473 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.4807, allocations: 0 / 0.8473 GB, free: 15.83 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003877/0.4811, allocations: 371.4 kB / 0.8476 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.4812, allocations: 11.97 kB / 0.8476 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.4812, allocations: 8.844 kB / 0.8476 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.4813, allocations: 164.3 kB / 0.8478 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.622e-05/0.4814, allocations: 38.27 kB / 0.8478 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.4814, allocations: 4.375 kB / 0.8478 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.4816, allocations: 82.22 kB / 0.8479 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.4817, allocations: 3.938 kB / 0.8479 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.4817, allocations: 3.984 kB / 0.8479 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.4817, allocations: 0 / 0.8479 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.4819, allocations: 63.89 kB / 0.848 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004942/0.4824, allocations: 308.7 kB / 0.8483 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.4825, allocations: 54.55 kB / 0.8483 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.009e-05/0.4826, allocations: 36.92 kB / 0.8484 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.4826, allocations: 7.938 kB / 0.8484 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.4827, allocations: 34.56 kB / 0.8484 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.4827, allocations: 0 / 0.8484 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0003406/0.483, allocations: 113.6 kB / 0.8485 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.4831, allocations: 55.41 kB / 0.8486 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.733e-05/0.4831, allocations: 113.7 kB / 0.8487 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.4832, allocations: 25.7 kB / 0.8487 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/0.4832, allocations: 96.06 kB / 0.8488 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.4833, allocations: 11.81 kB / 0.8488 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.4833, allocations: 0 / 0.8488 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.4834, allocations: 322.8 kB / 0.8491 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.482e-05/0.4835, allocations: 27.97 kB / 0.8491 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.341e-05/0.4836, allocations: 41.64 kB / 0.8492 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.4837, allocations: 69.67 kB / 0.8492 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4837, allocations: 0 / 0.8492 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002095/0.484, allocations: 97.62 kB / 0.8493 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.484, allocations: 9.562 kB / 0.8493 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.484, allocations: 0 / 0.8493 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.484, allocations: 3.938 kB / 0.8493 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.803e-05/0.4841, allocations: 15.98 kB / 0.8494 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.4841, allocations: 0 / 0.8494 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.501e-05/0.4842, allocations: 16.02 kB / 0.8494 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.4842, allocations: 12 kB / 0.8494 GB, free: 13.41 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 prepare postOptimizeDAE: time 7.76e-05/0.4843, allocations: 113.8 kB / 0.8495 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.4843, allocations: 4 kB / 0.8495 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.388e-05/0.4844, allocations: 7.906 kB / 0.8495 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.4844, allocations: 0 / 0.8495 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.4844, allocations: 0 / 0.8495 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4844, allocations: 0 / 0.8495 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.4845, allocations: 189.4 kB / 0.8497 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.4846, allocations: 0 / 0.8497 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.028e-05/0.4846, allocations: 19.98 kB / 0.8497 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4846, allocations: 0 / 0.8497 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.4846, allocations: 0 / 0.8497 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4847, allocations: 0 / 0.8497 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4847, allocations: 0 / 0.8497 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.4849, allocations: 191.4 kB / 0.8499 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.4849, allocations: 85.09 kB / 0.85 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.485, allocations: 0 / 0.85 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.4851, allocations: 15.98 kB / 0.85 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.4851, allocations: 0 / 0.85 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.4851, allocations: 0 / 0.85 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.82e-05/0.4852, allocations: 95.27 kB / 0.8501 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.044e-06/0.4852, allocations: 0 / 0.8501 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002227/0.4854, allocations: 15.94 kB / 0.8501 GB, free: 12.59 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 9.828e-05/0.4855, allocations: 95.25 kB / 0.8502 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002091/0.4857, allocations: 67.89 kB / 0.8502 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4857, allocations: 0 / 0.8502 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.429e-05/0.4858, allocations: 35.91 kB / 0.8503 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.4861, allocations: 5.844 kB / 0.8503 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000292/0.4864, allocations: 148.6 kB / 0.8504 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.4866, allocations: 0.6809 MB / 0.8511 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.179e-05/0.4867, allocations: 7.984 kB / 0.8511 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.378e-05/0.4867, allocations: 11.44 kB / 0.8511 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of SimCode: time 2.41e-07/0.4867, allocations: 4 kB / 0.8511 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of Templates: time 0.002292/0.489, allocations: 0.697 MB / 0.8518 GB, free: 10.79 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)