Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example5.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.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008656/0.0008657, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009087/0.0009088, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.59/1.59, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0005435/0.0005437, allocations: 18.16 kB / 0.6735 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2492, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.0006837/0.2499, allocations: 256.4 kB / 0.7874 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002109/0.2501, allocations: 43.83 kB / 0.7874 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.809e-05/0.2502, allocations: 0 / 0.7874 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.441e-05/0.2502, allocations: 0 / 0.7874 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.2504, allocations: 4 kB / 0.7874 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.464e-05/0.2504, allocations: 0 / 0.7874 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.383e-05/0.2505, allocations: 11.98 kB / 0.7874 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.189e-05/0.2506, allocations: 3.938 kB / 0.7874 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.622e-05/0.2506, allocations: 11.92 kB / 0.7874 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.124e-05/0.2507, allocations: 7.984 kB / 0.7874 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.2507, allocations: 0 / 0.7874 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-06/0.2508, allocations: 4 kB / 0.7874 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.279e-05/0.2508, allocations: 5.656 kB / 0.7874 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.539e-05/0.2508, allocations: 29.7 kB / 0.7875 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 4.117e-05/0.2509, allocations: 7.984 kB / 0.7875 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.2509, allocations: 0 / 0.7875 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2509, allocations: 0 / 0.7875 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.2509, allocations: 0 / 0.7875 GB, free: 11.61 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004575/0.2514, allocations: 323.3 kB / 0.7878 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.2514, allocations: 8.031 kB / 0.7878 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.2515, allocations: 4 kB / 0.7878 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.2517, allocations: 187.2 kB / 0.788 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.2517, allocations: 4 kB / 0.788 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.2517, allocations: 0 / 0.788 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.306e-05/0.2518, allocations: 29.7 kB / 0.788 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.2518, allocations: 0 / 0.788 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.2518, allocations: 0 / 0.788 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2518, allocations: 3.938 kB / 0.788 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.485e-05/0.2519, allocations: 7.984 kB / 0.788 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.252, allocations: 161.7 kB / 0.7882 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.764e-05/0.2521, allocations: 22.52 kB / 0.7882 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.2521, allocations: 3.984 kB / 0.7882 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.2521, allocations: 30.56 kB / 0.7882 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.2522, allocations: 0 / 0.7882 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001482/0.2523, allocations: 37.75 kB / 0.7883 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.2524, allocations: 55.53 kB / 0.7883 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.309e-05/0.2525, allocations: 113.8 kB / 0.7884 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.2525, allocations: 25.7 kB / 0.7885 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.177e-05/0.2525, allocations: 84.12 kB / 0.7885 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.2525, allocations: 7.906 kB / 0.7885 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-06/0.2526, allocations: 0 / 0.7885 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2527, allocations: 318.8 kB / 0.7888 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.2527, allocations: 7.938 kB / 0.7889 GB, free: 10 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.861e-05/0.2527, allocations: 21.7 kB / 0.7889 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.37e-05/0.2528, allocations: 4 kB / 0.7889 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2528, allocations: 0 / 0.7889 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.351e-05/0.2529, allocations: 53.58 kB / 0.7889 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.2529, allocations: 4 kB / 0.7889 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.2529, allocations: 0 / 0.7889 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.2529, allocations: 0 / 0.7889 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.243e-05/0.253, allocations: 4.25 kB / 0.7889 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.253, allocations: 128 / 0.7889 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.126e-05/0.253, allocations: 15.98 kB / 0.7889 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.2531, allocations: 0 / 0.7889 GB, free: 9.887 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 (2): * Single equations (assignments): 2 * 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 8.978e-05/0.2532, allocations: 109.8 kB / 0.7891 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.2532, allocations: 7.859 kB / 0.7891 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.2533, allocations: 44.81 kB / 0.7891 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2533, allocations: 7.938 kB / 0.7891 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.2533, allocations: 3.984 kB / 0.7891 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.2533, allocations: 32 / 0.7891 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.2535, allocations: 157.7 kB / 0.7893 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2535, allocations: 0 / 0.7893 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.59e-05/0.2535, allocations: 4 kB / 0.7893 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.2536, allocations: 3.953 kB / 0.7893 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.2536, allocations: 0 / 0.7893 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2536, allocations: 0 / 0.7893 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2536, allocations: 0 / 0.7893 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.2537, allocations: 81.11 kB / 0.7894 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.19e-05/0.2538, allocations: 81.11 kB / 0.7894 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.2538, allocations: 7.891 kB / 0.7894 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.368e-05/0.2538, allocations: 4.031 kB / 0.7894 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.984e-05/0.2539, allocations: 0 / 0.7894 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.2539, allocations: 0 / 0.7894 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.695e-05/0.254, allocations: 95.2 kB / 0.7895 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.254, allocations: 0 / 0.7895 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001804/0.2541, allocations: 0 / 0.7895 GB, free: 9.184 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.000138/0.2543, allocations: 99.34 kB / 0.7896 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.467e-05/0.2544, allocations: 11.98 kB / 0.7896 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.2544, allocations: 3.938 kB / 0.7896 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.662e-05/0.2544, allocations: 8 kB / 0.7896 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001194/0.2545, allocations: 4 kB / 0.7897 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002934/0.2548, allocations: 120.5 kB / 0.7898 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.2552, allocations: 0.685 MB / 0.7904 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.829e-05/0.2552, allocations: 0 / 0.7904 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.547e-05/0.2552, allocations: 11.44 kB / 0.7904 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of SimCode: time 5.51e-07/0.2552, allocations: 0 / 0.7904 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of Templates: time 0.002391/0.2576, allocations: 288.4 kB / 0.7907 GB, free: 7.898 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example5.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) Environment - environmentSimulation: