Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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_3.0.0_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_3.0.0_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.001134/0.001134, allocations: 107.4 kB / 15.34 MB, free: 0.4961 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.001107/0.001107, allocations: 190.2 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.731/2.731, allocations: 472.6 MB / 0.7448 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 67.44 kB / 0.9115 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2671, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003065/0.2702, allocations: 2.099 MB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006811/0.2709, allocations: 430.7 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.2711, allocations: 4 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.2712, allocations: 31.72 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.128e-05/0.2713, allocations: 31.8 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.2715, allocations: 75.97 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002742/0.2718, allocations: 296.4 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/0.2721, allocations: 148.5 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.2722, allocations: 103.6 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.2723, allocations: 115.3 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.094e-05/0.2724, allocations: 36 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.458e-05/0.2724, allocations: 32 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.892e-05/0.2724, allocations: 59.78 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.798e-05/0.2725, allocations: 119.4 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003039/0.2729, allocations: 375.1 kB / 1.072 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.2729, allocations: 0 / 1.072 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2729, allocations: 3.938 kB / 1.072 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.2729, allocations: 0 / 1.072 GB, free: 6.82 MB / 0.8262 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.0007698/0.2737, allocations: 0.5419 MB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.2737, allocations: 8.031 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.646e-05/0.2738, allocations: 32.56 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.2741, allocations: 264.3 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.2741, allocations: 16.81 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.2741, allocations: 16.38 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004448/0.2746, allocations: 242.3 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.2746, allocations: 7.875 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.2746, allocations: 4 kB / 1.073 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.2746, allocations: 8 kB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004107/0.275, allocations: 169 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.2762, allocations: 0.8522 MB / 1.074 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004686/0.2766, allocations: 186.6 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.2769, allocations: 96.81 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.2769, allocations: 0 / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.2769, allocations: 30.56 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 9.82e-07/0.2769, allocations: 0 / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0005914/0.2775, allocations: 229.5 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.2776, allocations: 85.05 kB / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.2778, allocations: 243.1 kB / 1.074 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.2779, allocations: 25.7 kB / 1.074 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.102e-05/0.278, allocations: 156.1 kB / 1.075 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.064e-05/0.278, allocations: 43.36 kB / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.065e-05/0.2781, allocations: 33.7 kB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2782, allocations: 330.8 kB / 1.075 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.2784, allocations: 72.81 kB / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.2786, allocations: 110.7 kB / 1.075 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003461/0.279, allocations: 162.8 kB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.279, allocations: 0 / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004297/0.2794, allocations: 213.3 kB / 1.076 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.2795, allocations: 7.984 kB / 1.076 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2795, allocations: 0 / 1.076 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.2795, allocations: 7.938 kB / 1.076 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.2796, allocations: 31.92 kB / 1.076 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.2797, allocations: 4 kB / 1.076 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.2798, allocations: 31.81 kB / 1.076 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.2798, allocations: 4.031 kB / 1.076 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001995/0.2801, allocations: 160.1 kB / 1.076 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000146/0.2802, allocations: 94.47 kB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000254/0.2805, allocations: 135.4 kB / 1.076 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-06/0.2805, allocations: 0 / 1.076 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003328/0.2808, allocations: 173.4 kB / 1.076 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.2808, allocations: 8 kB / 1.076 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.2808, allocations: 4 kB / 1.076 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-06/0.2808, allocations: 4.094 kB / 1.076 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.281, allocations: 43.84 kB / 1.076 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-06/0.281, allocations: 7.938 kB / 1.076 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.2811, allocations: 15.89 kB / 1.076 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.2811, allocations: 7.984 kB / 1.076 GB, free: 1.656 MB / 0.8262 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.0001027/0.2812, allocations: 192.9 kB / 1.076 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.2813, allocations: 15.81 kB / 1.076 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.214e-05/0.2813, allocations: 33.33 kB / 1.076 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2813, allocations: 0 / 1.076 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2814, allocations: 0 / 1.076 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2814, allocations: 0 / 1.076 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002971/0.2817, allocations: 305.4 kB / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2817, allocations: 0 / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.2818, allocations: 27.92 kB / 1.077 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2818, allocations: 0 / 1.077 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.2819, allocations: 11.94 kB / 1.077 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.2819, allocations: 3.984 kB / 1.077 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2819, allocations: 0 / 1.077 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006063/0.2825, allocations: 346.7 kB / 1.077 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.596e-05/0.2826, allocations: 96.94 kB / 1.077 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.2826, allocations: 3.938 kB / 1.077 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.2827, allocations: 24.03 kB / 1.077 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.2828, allocations: 4 kB / 1.077 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.2828, allocations: 4 kB / 1.077 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001551/0.283, allocations: 176.7 kB / 1.077 GB, free: 360 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.283, allocations: 0 / 1.077 GB, free: 360 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000349/0.2833, allocations: 63.69 kB / 1.077 GB, free: 296 kB / 0.8262 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.0001107/0.2834, allocations: 100.7 kB / 1.078 GB, free: 184 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005952/0.284, allocations: 227.8 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.2841, allocations: 4 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.2842, allocations: 71.84 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.2847, allocations: 44.95 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007687/0.2855, allocations: 473.9 kB / 1.078 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.2858, allocations: 0.7363 MB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.004e-05/0.2859, allocations: 21.55 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.185e-05/0.2859, allocations: 19.42 kB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.286, allocations: 0 / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of Templates: time 0.004582/0.2905, allocations: 1.946 MB / 1.081 GB, free: 12.62 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)