Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.RadiatorSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009475/0.0009476, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009415/0.0009415, allocations: 192 kB / 16.25 MB, free: 6.629 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.109/1.109, allocations: 205.1 MB / 222.1 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.288/1.288, allocations: 251.6 MB / 0.5089 GB, free: 3.227 MB / 414.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.001258/0.001258, allocations: 71.89 kB / 0.6218 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3658, allocations: 104.7 MB / 0.724 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.002897/0.3687, allocations: 2.402 MB / 0.7263 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.3698, allocations: 0.8424 MB / 0.7272 GB, free: 9.828 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.3699, allocations: 11.94 kB / 0.7272 GB, free: 9.816 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.3701, allocations: 35.66 kB / 0.7272 GB, free: 9.781 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.902e-05/0.3702, allocations: 35.67 kB / 0.7272 GB, free: 9.746 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.3705, allocations: 131.8 kB / 0.7274 GB, free: 9.617 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003003/0.3708, allocations: 396.2 kB / 0.7278 GB, free: 9.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002317/0.371, allocations: 176.5 kB / 0.7279 GB, free: 9.055 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.3712, allocations: 131.5 kB / 0.728 GB, free: 8.926 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.3713, allocations: 143.2 kB / 0.7282 GB, free: 8.785 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.317e-05/0.3713, allocations: 40 kB / 0.7282 GB, free: 8.746 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.894e-05/0.3714, allocations: 44 kB / 0.7283 GB, free: 8.703 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.541e-05/0.3714, allocations: 83.7 kB / 0.7283 GB, free: 8.621 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.3715, allocations: 155.1 kB / 0.7285 GB, free: 8.469 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003255/0.3719, allocations: 480.4 kB / 0.7289 GB, free: 8 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.3719, allocations: 0 / 0.7289 GB, free: 8 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3719, allocations: 0 / 0.7289 GB, free: 8 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.3719, allocations: 0 / 0.7289 GB, free: 8 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008101/0.3727, allocations: 0.6312 MB / 0.7296 GB, free: 7.32 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.3727, allocations: 12.03 kB / 0.7296 GB, free: 7.309 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.699e-05/0.3728, allocations: 32.56 kB / 0.7296 GB, free: 7.277 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.3732, allocations: 344.1 kB / 0.7299 GB, free: 6.902 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.3732, allocations: 20.88 kB / 0.73 GB, free: 6.883 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.952e-05/0.3733, allocations: 28.38 kB / 0.73 GB, free: 6.855 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004756/0.3737, allocations: 293.5 kB / 0.7303 GB, free: 6.555 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3738, allocations: 3.938 kB / 0.7303 GB, free: 6.551 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.3738, allocations: 12 kB / 0.7303 GB, free: 6.539 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.3738, allocations: 7.984 kB / 0.7303 GB, free: 6.531 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004514/0.3743, allocations: 222.1 kB / 0.7305 GB, free: 6.312 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.3756, allocations: 1.142 MB / 0.7316 GB, free: 5.102 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004533/0.376, allocations: 210.8 kB / 0.7318 GB, free: 4.887 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002179/0.3763, allocations: 112.7 kB / 0.7319 GB, free: 4.773 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.3763, allocations: 8 kB / 0.7319 GB, free: 4.766 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.3763, allocations: 34.5 kB / 0.732 GB, free: 4.723 MB / 0.545 GB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.3763, allocations: 0 / 0.732 GB, free: 4.723 MB / 0.545 GB Notification: Performance of matching and sorting (n=17): time 0.0006431/0.377, allocations: 271.1 kB / 0.7322 GB, free: 4.453 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.377, allocations: 59.41 kB / 0.7323 GB, free: 4.383 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.3773, allocations: 294.9 kB / 0.7326 GB, free: 4.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.3773, allocations: 25.7 kB / 0.7326 GB, free: 4.059 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.3774, allocations: 180.2 kB / 0.7328 GB, free: 3.875 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.3775, allocations: 63.09 kB / 0.7328 GB, free: 3.812 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.449e-05/0.3775, allocations: 41.7 kB / 0.7329 GB, free: 3.766 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.3776, allocations: 338.8 kB / 0.7332 GB, free: 3.426 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.3778, allocations: 84.81 kB / 0.7333 GB, free: 3.34 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.378, allocations: 119.6 kB / 0.7334 GB, free: 3.211 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003668/0.3784, allocations: 194.4 kB / 0.7336 GB, free: 3.012 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3784, allocations: 0 / 0.7336 GB, free: 3.012 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004691/0.3789, allocations: 245.2 kB / 0.7338 GB, free: 2.766 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.3789, allocations: 8.031 kB / 0.7338 GB, free: 2.758 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3789, allocations: 4 kB / 0.7338 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3789, allocations: 0 / 0.7338 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.3791, allocations: 47.89 kB / 0.7338 GB, free: 2.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.3792, allocations: 4 kB / 0.7339 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.3793, allocations: 23.83 kB / 0.7339 GB, free: 2.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.3793, allocations: 12 kB / 0.7339 GB, free: 2.668 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002399/0.3796, allocations: 184.1 kB / 0.7341 GB, free: 2.484 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001664/0.3798, allocations: 104.2 kB / 0.7342 GB, free: 2.367 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003139/0.3801, allocations: 189.7 kB / 0.7343 GB, free: 2.172 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.184e-06/0.3801, allocations: 3.938 kB / 0.7343 GB, free: 2.168 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004035/0.3805, allocations: 241.2 kB / 0.7346 GB, free: 1.926 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.102e-06/0.3805, allocations: 11.94 kB / 0.7346 GB, free: 1.914 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-06/0.3805, allocations: 3.938 kB / 0.7346 GB, free: 1.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.927e-06/0.3805, allocations: 8.094 kB / 0.7346 GB, free: 1.902 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.3807, allocations: 43.91 kB / 0.7346 GB, free: 1.859 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.3807, allocations: 0 / 0.7346 GB, free: 1.859 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.3808, allocations: 23.83 kB / 0.7347 GB, free: 1.836 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.3809, allocations: 4 kB / 0.7347 GB, free: 1.832 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (conRadSup.conPIDRad.cheYMinMax.y,conRadSup.conPIDRad.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.801e-05/0.381, allocations: 196.1 kB / 0.7349 GB, free: 1.633 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/0.381, allocations: 23.72 kB / 0.7349 GB, free: 1.609 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004861/0.3815, allocations: 233.8 kB / 0.7351 GB, free: 1.375 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3815, allocations: 0 / 0.7351 GB, free: 1.375 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3815, allocations: 0 / 0.7351 GB, free: 1.375 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.3815, allocations: 0 / 0.7351 GB, free: 1.375 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003093/0.3818, allocations: 357.3 kB / 0.7354 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3819, allocations: 3.938 kB / 0.7354 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.382, allocations: 35.97 kB / 0.7355 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.3821, allocations: 8 kB / 0.7355 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.3821, allocations: 4 kB / 0.7355 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3821, allocations: 0 / 0.7355 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3821, allocations: 0 / 0.7355 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006541/0.3827, allocations: 422.8 kB / 0.7359 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.474e-05/0.3828, allocations: 104.8 kB / 0.736 GB, free: 384 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.3829, allocations: 4 kB / 0.736 GB, free: 380 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.383, allocations: 11.98 kB / 0.736 GB, free: 368 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.539e-05/0.3831, allocations: 11.98 kB / 0.736 GB, free: 356 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.3831, allocations: 8 kB / 0.736 GB, free: 348 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001679/0.3833, allocations: 209.9 kB / 0.7362 GB, free: 140 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3833, allocations: 0 / 0.7362 GB, free: 140 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003365/0.3836, allocations: 91.66 kB / 0.7363 GB, free: 48 kB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conRadSup.conPIDRad.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 (18): * Single equations (assignments): 18 * 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.0001152/0.3837, allocations: 99.3 kB / 0.7364 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006289/0.3844, allocations: 292.5 kB / 0.7367 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3844, allocations: 8.062 kB / 0.7367 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.3846, allocations: 91.88 kB / 0.7368 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.385, allocations: 63.59 kB / 0.7368 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007644/0.3857, allocations: 0.585 MB / 0.7374 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.386, allocations: 0.7635 MB / 0.7382 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001266/0.3862, allocations: 38.2 kB / 0.7382 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.002e-05/0.3862, allocations: 27.38 kB / 0.7382 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.3862, allocations: 0 / 0.7382 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of Templates: time 0.004822/0.3911, allocations: 2.475 MB / 0.7406 GB, free: 11.6 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)