Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.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.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 105 kB / 15.98 MB, free: 6.352 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.001523/0.001523, allocations: 195.3 kB / 16.91 MB, free: 6.188 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.442/1.442, allocations: 205.1 MB / 222.8 MB, free: 4.715 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.66/1.66, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001411/0.001411, allocations: 72.84 kB / 0.6717 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.259, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003369/0.2624, allocations: 2.096 MB / 0.7856 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00079/0.2632, allocations: 419.9 kB / 0.786 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.2633, allocations: 4 kB / 0.786 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.2635, allocations: 31.73 kB / 0.786 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.2636, allocations: 19.8 kB / 0.786 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.2639, allocations: 95.88 kB / 0.7861 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002777/0.2642, allocations: 288.4 kB / 0.7864 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002741/0.2645, allocations: 156.5 kB / 0.7865 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.2646, allocations: 99.58 kB / 0.7866 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.2647, allocations: 111.5 kB / 0.7867 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.837e-05/0.2648, allocations: 32 kB / 0.7868 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.448e-05/0.2648, allocations: 36 kB / 0.7868 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.645e-05/0.2649, allocations: 71.72 kB / 0.7869 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.455e-05/0.265, allocations: 119.4 kB / 0.787 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.2652, allocations: 323.5 kB / 0.7873 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2653, allocations: 0 / 0.7873 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2653, allocations: 0 / 0.7873 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.2653, allocations: 4 kB / 0.7873 GB, free: 10.02 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0008743/0.2662, allocations: 0.5535 MB / 0.7878 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.2662, allocations: 11.97 kB / 0.7878 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.589e-05/0.2663, allocations: 32.56 kB / 0.7879 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.2666, allocations: 281.2 kB / 0.7881 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.2667, allocations: 16.75 kB / 0.7882 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.347e-05/0.2667, allocations: 24.38 kB / 0.7882 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004498/0.2672, allocations: 234.3 kB / 0.7884 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.2672, allocations: 3.938 kB / 0.7884 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.2672, allocations: 8 kB / 0.7884 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.2672, allocations: 4 kB / 0.7884 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004229/0.2677, allocations: 181 kB / 0.7886 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.2688, allocations: 0.8483 MB / 0.7894 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004691/0.2693, allocations: 178.7 kB / 0.7896 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.2695, allocations: 96.81 kB / 0.7897 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.2695, allocations: 3.984 kB / 0.7897 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.2696, allocations: 34.56 kB / 0.7897 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.2696, allocations: 0 / 0.7897 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0006461/0.2702, allocations: 229.4 kB / 0.7899 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/0.2703, allocations: 81.11 kB / 0.79 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.2705, allocations: 241 kB / 0.7903 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.2706, allocations: 29.7 kB / 0.7903 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.2707, allocations: 160.1 kB / 0.7904 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.2707, allocations: 43.39 kB / 0.7905 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.619e-05/0.2708, allocations: 37.64 kB / 0.7905 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.271, allocations: 334.8 kB / 0.7908 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.2712, allocations: 68.81 kB / 0.7909 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.2714, allocations: 109 kB / 0.791 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/0.2717, allocations: 167.3 kB / 0.7912 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2717, allocations: 0 / 0.7912 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004376/0.2722, allocations: 209.4 kB / 0.7914 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.2722, allocations: 4 kB / 0.7914 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2722, allocations: 0 / 0.7914 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.2722, allocations: 7.938 kB / 0.7914 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.2724, allocations: 39.91 kB / 0.7914 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.2724, allocations: 7.938 kB / 0.7914 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.2726, allocations: 31.91 kB / 0.7914 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.2726, allocations: 8 kB / 0.7915 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002027/0.2728, allocations: 156.8 kB / 0.7916 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000152/0.273, allocations: 91.62 kB / 0.7917 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002489/0.2732, allocations: 136.4 kB / 0.7918 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-06/0.2732, allocations: 0 / 0.7918 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003402/0.2736, allocations: 188.5 kB / 0.792 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.2736, allocations: 12.09 kB / 0.792 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-06/0.2736, allocations: 0 / 0.792 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.426e-06/0.2736, allocations: 0 / 0.792 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.2737, allocations: 35.86 kB / 0.792 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.2738, allocations: 7.984 kB / 0.7921 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.2739, allocations: 19.89 kB / 0.7921 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.2739, allocations: 4 kB / 0.7921 GB, free: 4.809 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 0.000121/0.274, allocations: 188.2 kB / 0.7923 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.2741, allocations: 23.81 kB / 0.7923 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.744e-05/0.2741, allocations: 29.64 kB / 0.7923 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2741, allocations: 0 / 0.7923 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2741, allocations: 0 / 0.7923 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.2742, allocations: 4 kB / 0.7923 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.2745, allocations: 309.3 kB / 0.7926 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2745, allocations: 0 / 0.7926 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.2747, allocations: 23.98 kB / 0.7926 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2747, allocations: 0 / 0.7926 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.2747, allocations: 11.92 kB / 0.7926 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.2747, allocations: 8 kB / 0.7926 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2747, allocations: 0 / 0.7926 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006235/0.2753, allocations: 347.5 kB / 0.793 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.491e-05/0.2754, allocations: 100.9 kB / 0.7931 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.2754, allocations: 3.938 kB / 0.7931 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.2756, allocations: 23.91 kB / 0.7931 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.2757, allocations: 4 kB / 0.7931 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.2757, allocations: 11.98 kB / 0.7931 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000172/0.2758, allocations: 172.5 kB / 0.7933 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2759, allocations: 0 / 0.7933 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003551/0.2762, allocations: 75.67 kB / 0.7934 GB, free: 3.406 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conBoiRet.conPID.I.y) * 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 (12): * Single equations (assignments): 12 * 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.0001258/0.2763, allocations: 103.2 kB / 0.7935 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005588/0.2769, allocations: 231.6 kB / 0.7937 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2769, allocations: 0 / 0.7937 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.2771, allocations: 72.33 kB / 0.7937 GB, free: 3 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004793/0.2776, allocations: 35.47 kB / 0.7938 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008046/0.2784, allocations: 0.5031 MB / 0.7943 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.2787, allocations: 0.744 MB / 0.795 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.402e-05/0.2788, allocations: 19.44 kB / 0.795 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2788, allocations: 0 / 0.795 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of Templates: time 0.004354/0.2831, allocations: 2.644 MB / 0.7976 GB, free: 15 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)