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.001454/0.001454, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.389/1.389, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.72/2.72, allocations: 472.6 MB / 0.7451 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 65.8 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.291, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003118/0.2942, allocations: 2.053 MB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008087/0.295, allocations: 446.7 kB / 1.071 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.2952, allocations: 4 kB / 1.071 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.2953, allocations: 39.59 kB / 1.071 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.2955, allocations: 31.67 kB / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.2957, allocations: 115.8 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.296, allocations: 284.5 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002769/0.2962, allocations: 156.5 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.2964, allocations: 99.62 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.2965, allocations: 107.4 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.302e-05/0.2965, allocations: 32 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.685e-05/0.2966, allocations: 32 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.821e-05/0.2966, allocations: 67.78 kB / 1.072 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.2968, allocations: 119.3 kB / 1.072 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003557/0.2971, allocations: 375.1 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2972, allocations: 0 / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.72e-07/0.2972, allocations: 0 / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.2972, allocations: 0 / 1.072 GB, free: 6.488 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.0008289/0.298, allocations: 0.538 MB / 1.073 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.298, allocations: 12.03 kB / 1.073 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.067e-05/0.2981, allocations: 28.56 kB / 1.073 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.2984, allocations: 268.3 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.2984, allocations: 12.81 kB / 1.073 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.93e-05/0.2985, allocations: 28.31 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004297/0.2989, allocations: 234.2 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.2989, allocations: 3.938 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.299, allocations: 15.98 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.299, allocations: 4 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004163/0.2994, allocations: 165 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.3005, allocations: 0.8521 MB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004929/0.301, allocations: 178.8 kB / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.3012, allocations: 92.81 kB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.3012, allocations: 3.984 kB / 1.074 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.3013, allocations: 42.56 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.3013, allocations: 3.938 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0006234/0.3019, allocations: 221.5 kB / 1.075 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.3019, allocations: 81.11 kB / 1.075 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.3022, allocations: 243.1 kB / 1.075 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.3022, allocations: 29.7 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.558e-05/0.3023, allocations: 152.1 kB / 1.075 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.3023, allocations: 43.36 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.476e-05/0.3024, allocations: 37.7 kB / 1.075 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3025, allocations: 330.8 kB / 1.075 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.3027, allocations: 68.83 kB / 1.076 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.3029, allocations: 114.8 kB / 1.076 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.3033, allocations: 154.9 kB / 1.076 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3033, allocations: 4 kB / 1.076 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004547/0.3038, allocations: 213.2 kB / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3038, allocations: 8.094 kB / 1.076 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3038, allocations: 4 kB / 1.076 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3038, allocations: 3.938 kB / 1.076 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.304, allocations: 39.97 kB / 1.076 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.304, allocations: 3.938 kB / 1.076 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.3042, allocations: 23.83 kB / 1.076 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.3042, allocations: 8 kB / 1.076 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002063/0.3044, allocations: 152.1 kB / 1.076 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001559/0.3046, allocations: 102.5 kB / 1.076 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002814/0.3049, allocations: 135.4 kB / 1.076 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.212e-06/0.3049, allocations: 3.938 kB / 1.076 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003525/0.3052, allocations: 184 kB / 1.077 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.215e-06/0.3053, allocations: 4 kB / 1.077 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-06/0.3053, allocations: 0 / 1.077 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.207e-06/0.3053, allocations: 4 kB / 1.077 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.3054, allocations: 35.86 kB / 1.077 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.3054, allocations: 4.094 kB / 1.077 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.3055, allocations: 27.83 kB / 1.077 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.3056, allocations: 4 kB / 1.077 GB, free: 1.324 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.0001186/0.3057, allocations: 188.7 kB / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.3057, allocations: 15.81 kB / 1.077 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.512e-05/0.3058, allocations: 29.33 kB / 1.077 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.3058, allocations: 0 / 1.077 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3058, allocations: 3.938 kB / 1.077 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3058, allocations: 4 kB / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.3061, allocations: 305.4 kB / 1.077 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3061, allocations: 0 / 1.077 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.3063, allocations: 31.97 kB / 1.077 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3063, allocations: 0 / 1.077 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.3063, allocations: 3.938 kB / 1.077 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3063, allocations: 0 / 1.077 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3064, allocations: 0 / 1.077 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006325/0.307, allocations: 351.1 kB / 1.078 GB, free: 348 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/0.3071, allocations: 92.94 kB / 1.078 GB, free: 236 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.3071, allocations: 11.94 kB / 1.078 GB, free: 224 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.3072, allocations: 15.98 kB / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.3073, allocations: 16.05 kB / 1.078 GB, free: 192 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.3073, allocations: 0 / 1.078 GB, free: 192 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001452/0.3075, allocations: 164.7 kB / 1.078 GB, free: 28 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3075, allocations: 0 / 1.078 GB, free: 28 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003727/0.3078, allocations: 67.69 kB / 1.078 GB, free: 15.96 MB / 0.8419 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.0001031/0.308, allocations: 103.2 kB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005787/0.3085, allocations: 227.8 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3086, allocations: 0 / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.3088, allocations: 76.38 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.3092, allocations: 37.23 kB / 1.078 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007025/0.3099, allocations: 397.2 kB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.3102, allocations: 0.7363 MB / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.726e-05/0.3103, allocations: 25.52 kB / 1.08 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.123e-05/0.3104, allocations: 23.38 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3104, allocations: 0 / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of Templates: time 0.004833/0.3152, allocations: 2.008 MB / 1.082 GB, free: 12.31 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)