Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.conf.json 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/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 104 kB / 15.98 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 192.1 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.337/1.337, allocations: 205.1 MB / 222.8 MB, free: 4.441 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.71/1.71, allocations: 292.3 MB / 0.5492 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 70.12 kB / 0.6716 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2597, allocations: 114.6 MB / 0.7835 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.00307/0.2629, allocations: 1.561 MB / 0.785 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000327/0.2632, allocations: 120.7 kB / 0.7851 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.982e-05/0.2633, allocations: 4 kB / 0.7851 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.784e-05/0.2633, allocations: 7.922 kB / 0.7852 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.163e-05/0.2634, allocations: 7.922 kB / 0.7852 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.2638, allocations: 63.05 kB / 0.7852 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.142e-05/0.2639, allocations: 59.89 kB / 0.7853 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.264, allocations: 16 kB / 0.7853 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.723e-05/0.264, allocations: 23.92 kB / 0.7853 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.447e-05/0.2641, allocations: 27.84 kB / 0.7853 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.2642, allocations: 4 kB / 0.7854 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.467e-05/0.2642, allocations: 8 kB / 0.7854 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.1e-05/0.2642, allocations: 11.97 kB / 0.7854 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.734e-05/0.2642, allocations: 27.86 kB / 0.7854 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.262e-05/0.2643, allocations: 32.23 kB / 0.7854 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2643, allocations: 0 / 0.7854 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2643, allocations: 0 / 0.7854 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2643, allocations: 4 kB / 0.7854 GB, free: 11.95 MB / 0.6075 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.0005306/0.2649, allocations: 375.2 kB / 0.7858 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.2649, allocations: 15.97 kB / 0.7858 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.265, allocations: 4.938 kB / 0.7858 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.2651, allocations: 172.3 kB / 0.786 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.041e-05/0.2652, allocations: 42.25 kB / 0.786 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.2652, allocations: 8.359 kB / 0.786 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.2655, allocations: 70.22 kB / 0.7861 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.2655, allocations: 3.938 kB / 0.7861 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.2655, allocations: 4 kB / 0.7861 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2655, allocations: 0 / 0.7861 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001974/0.2657, allocations: 51.89 kB / 0.7861 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006047/0.2663, allocations: 308.8 kB / 0.7864 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.2665, allocations: 46.56 kB / 0.7865 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.941e-05/0.2666, allocations: 32.92 kB / 0.7865 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.2666, allocations: 0 / 0.7865 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.2666, allocations: 42.5 kB / 0.7866 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2666, allocations: 7.875 kB / 0.7866 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.000374/0.267, allocations: 97.55 kB / 0.7867 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.2671, allocations: 55.39 kB / 0.7867 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.2672, allocations: 109.8 kB / 0.7868 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.2672, allocations: 25.7 kB / 0.7868 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.273e-05/0.2673, allocations: 92.08 kB / 0.7869 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.2673, allocations: 11.81 kB / 0.7869 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.2673, allocations: 13.72 kB / 0.787 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.2675, allocations: 326.8 kB / 0.7873 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.822e-05/0.2676, allocations: 19.98 kB / 0.7873 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.942e-05/0.2677, allocations: 41.62 kB / 0.7873 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.2678, allocations: 49.69 kB / 0.7874 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2678, allocations: 0 / 0.7874 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002133/0.2681, allocations: 101.5 kB / 0.7875 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2681, allocations: 4 kB / 0.7875 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2681, allocations: 0 / 0.7875 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.2681, allocations: 0 / 0.7875 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.69e-05/0.2682, allocations: 16.11 kB / 0.7875 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.81e-06/0.2682, allocations: 0 / 0.7875 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.474e-05/0.2683, allocations: 8 kB / 0.7875 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.2683, allocations: 0 / 0.7875 GB, free: 9.594 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.425e-05/0.2684, allocations: 118.4 kB / 0.7876 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.2684, allocations: 8 kB / 0.7876 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.2685, allocations: 12.12 kB / 0.7876 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.2685, allocations: 3.984 kB / 0.7876 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2685, allocations: 0 / 0.7876 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.2685, allocations: 0 / 0.7876 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.2687, allocations: 189.5 kB / 0.7878 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2687, allocations: 0 / 0.7878 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.409e-05/0.2688, allocations: 15.92 kB / 0.7878 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2688, allocations: 0 / 0.7878 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.2688, allocations: 0 / 0.7878 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.2688, allocations: 8 kB / 0.7878 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2688, allocations: 0 / 0.7878 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.2691, allocations: 171.5 kB / 0.788 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/0.2691, allocations: 85.02 kB / 0.7881 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.2691, allocations: 3.938 kB / 0.7881 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.2693, allocations: 11.98 kB / 0.7881 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.2693, allocations: 11.98 kB / 0.7881 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.984e-06/0.2693, allocations: 0 / 0.7881 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.078e-05/0.2694, allocations: 91.27 kB / 0.7882 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2694, allocations: 0 / 0.7882 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002334/0.2697, allocations: 11.94 kB / 0.7882 GB, free: 8.766 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000123/0.2698, allocations: 99.19 kB / 0.7883 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002237/0.27, allocations: 55.89 kB / 0.7883 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.27, allocations: 4 kB / 0.7884 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.592e-05/0.2701, allocations: 23.92 kB / 0.7884 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.2705, allocations: 11.98 kB / 0.7884 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003421/0.2708, allocations: 171.2 kB / 0.7886 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.2711, allocations: 0.6807 MB / 0.7892 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/0.2711, allocations: 11.44 kB / 0.7892 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2711, allocations: 0 / 0.7892 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of Templates: time 0.002229/0.2734, allocations: 0.8571 MB / 0.7901 GB, free: 6.797 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)