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 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.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.7823/0.7823, allocations: 143.4 MB / 159.2 MB, free: 4.867 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.001175/0.001175, allocations: 179.5 kB / 191.9 MB, free: 5.711 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.387/1.387, allocations: 222.9 MB / 447.3 MB, free: 5.863 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.00105/0.00105, allocations: 123.4 kB / 0.517 GB, free: 3.699 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002059/0.002059, allocations: 285.3 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 84.31 kB / 0.6885 GB, free: 3.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3642, allocations: 81.29 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.00258/0.3668, allocations: 1.561 MB / 0.7694 GB, free: 26.09 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002997/0.3671, allocations: 135.6 kB / 0.7696 GB, free: 25.96 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.07e-05/0.3672, allocations: 0 / 0.7696 GB, free: 25.96 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.491e-05/0.3672, allocations: 0 / 0.7696 GB, free: 25.96 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.397e-05/0.3673, allocations: 7.938 kB / 0.7696 GB, free: 25.95 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.3676, allocations: 61.28 kB / 0.7696 GB, free: 25.89 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 7.785e-05/0.3677, allocations: 59.78 kB / 0.7697 GB, free: 25.83 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.3678, allocations: 22.59 kB / 0.7697 GB, free: 25.81 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.08e-05/0.3679, allocations: 23.92 kB / 0.7697 GB, free: 25.79 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.471e-05/0.3679, allocations: 19.91 kB / 0.7698 GB, free: 25.77 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.368, allocations: 4 kB / 0.7698 GB, free: 25.77 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.427e-05/0.368, allocations: 8 kB / 0.7698 GB, free: 25.76 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.207e-05/0.368, allocations: 15.92 kB / 0.7698 GB, free: 25.74 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.514e-05/0.3681, allocations: 23.86 kB / 0.7698 GB, free: 25.72 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 9.347e-05/0.3682, allocations: 47.86 kB / 0.7699 GB, free: 25.67 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3682, allocations: 4 kB / 0.7699 GB, free: 25.67 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3682, allocations: 4 kB / 0.7699 GB, free: 25.66 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.3682, allocations: 0 / 0.7699 GB, free: 25.66 MB / 458.7 MB 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.0004644/0.3687, allocations: 367.4 kB / 0.7702 GB, free: 25.25 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3687, allocations: 12.03 kB / 0.7702 GB, free: 25.24 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.506e-05/0.3688, allocations: 8.844 kB / 0.7702 GB, free: 25.23 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.921e-05/0.3688, allocations: 168.3 kB / 0.7704 GB, free: 25.03 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.378e-05/0.3689, allocations: 30.27 kB / 0.7704 GB, free: 25 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.3689, allocations: 4.375 kB / 0.7704 GB, free: 24.99 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.3691, allocations: 82.14 kB / 0.7705 GB, free: 24.91 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3692, allocations: 3.938 kB / 0.7705 GB, free: 24.9 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.3692, allocations: 0 / 0.7705 GB, free: 24.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3692, allocations: 0 / 0.7705 GB, free: 24.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.3694, allocations: 51.95 kB / 0.7706 GB, free: 24.85 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005118/0.3699, allocations: 320.7 kB / 0.7709 GB, free: 24.49 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.37, allocations: 58.48 kB / 0.7709 GB, free: 24.42 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.373e-05/0.3701, allocations: 28.88 kB / 0.7709 GB, free: 24.39 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.3701, allocations: 0 / 0.7709 GB, free: 24.39 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.3701, allocations: 34.56 kB / 0.771 GB, free: 24.35 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.3702, allocations: 0 / 0.771 GB, free: 24.35 MB / 458.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003215/0.3705, allocations: 109.5 kB / 0.7711 GB, free: 24.23 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.847e-05/0.3705, allocations: 51.41 kB / 0.7711 GB, free: 24.17 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.679e-05/0.3706, allocations: 109.8 kB / 0.7712 GB, free: 24.05 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.3706, allocations: 29.7 kB / 0.7713 GB, free: 24.02 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.84e-05/0.3706, allocations: 88.14 kB / 0.7713 GB, free: 23.93 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.293e-05/0.3706, allocations: 15.75 kB / 0.7714 GB, free: 23.91 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.3707, allocations: 17.7 kB / 0.7714 GB, free: 23.89 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.133e-05/0.3707, allocations: 322.8 kB / 0.7717 GB, free: 23.57 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.101e-05/0.3708, allocations: 19.98 kB / 0.7717 GB, free: 23.55 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.036e-05/0.3709, allocations: 37.81 kB / 0.7717 GB, free: 23.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.371, allocations: 57.67 kB / 0.7718 GB, free: 23.44 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3711, allocations: 7.938 kB / 0.7718 GB, free: 23.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001859/0.3713, allocations: 85.66 kB / 0.7719 GB, free: 23.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3713, allocations: 4 kB / 0.7719 GB, free: 23.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3713, allocations: 3.938 kB / 0.7719 GB, free: 23.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3713, allocations: 0 / 0.7719 GB, free: 23.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.462e-05/0.3714, allocations: 15.98 kB / 0.7719 GB, free: 23.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3714, allocations: 3.938 kB / 0.7719 GB, free: 23.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.991e-05/0.3715, allocations: 7.906 kB / 0.7719 GB, free: 23.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.3715, allocations: 8.031 kB / 0.7719 GB, free: 23.3 MB / 458.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.897e-05/0.3715, allocations: 118.6 kB / 0.772 GB, free: 23.18 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.3716, allocations: 4 kB / 0.772 GB, free: 23.17 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.333e-05/0.3716, allocations: 3.906 kB / 0.7721 GB, free: 23.16 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3716, allocations: 0 / 0.7721 GB, free: 23.16 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3716, allocations: 0 / 0.7721 GB, free: 23.16 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3716, allocations: 0 / 0.7721 GB, free: 23.16 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.3718, allocations: 181.6 kB / 0.7722 GB, free: 22.94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3718, allocations: 0 / 0.7722 GB, free: 22.94 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.157e-05/0.3718, allocations: 15.98 kB / 0.7722 GB, free: 22.92 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3718, allocations: 0 / 0.7722 GB, free: 22.92 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.3719, allocations: 0 / 0.7722 GB, free: 22.92 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3719, allocations: 4 kB / 0.7722 GB, free: 22.92 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3719, allocations: 3.938 kB / 0.7722 GB, free: 22.91 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004124/0.3723, allocations: 0.7475 MB / 0.773 GB, free: 22.11 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.885e-05/0.3723, allocations: 85 kB / 0.7731 GB, free: 22.01 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.3723, allocations: 0 / 0.7731 GB, free: 22.01 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.3725, allocations: 19.92 kB / 0.7731 GB, free: 21.99 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.3725, allocations: 0 / 0.7731 GB, free: 21.99 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.689e-06/0.3725, allocations: 4 kB / 0.7731 GB, free: 21.98 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.772e-05/0.3726, allocations: 91.27 kB / 0.7732 GB, free: 21.89 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.3726, allocations: 0 / 0.7732 GB, free: 21.89 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003038/0.3729, allocations: 15.94 kB / 0.7732 GB, free: 21.88 MB / 458.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.681e-05/0.373, allocations: 95.25 kB / 0.7733 GB, free: 21.78 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.3732, allocations: 47.95 kB / 0.7733 GB, free: 21.73 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3732, allocations: 0 / 0.7733 GB, free: 21.73 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.968e-05/0.3733, allocations: 31.91 kB / 0.7734 GB, free: 21.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.3736, allocations: 13.94 kB / 0.7734 GB, free: 21.69 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003496/0.3739, allocations: 257.1 kB / 0.7736 GB, free: 21.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.374, allocations: 0.6848 MB / 0.7743 GB, free: 20.69 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.923e-05/0.3741, allocations: 11.98 kB / 0.7743 GB, free: 20.68 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.216e-05/0.3741, allocations: 15.38 kB / 0.7743 GB, free: 20.66 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3741, allocations: 0 / 0.7743 GB, free: 20.66 MB / 458.7 MB Notification: Performance of Templates: time 0.002243/0.3764, allocations: 0.746 MB / 0.775 GB, free: 19.93 MB / 458.7 MB 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)