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.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 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.BoilerReturn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.0008936/0.0008936, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001187/0.001187, allocations: 168.7 kB / 15.95 MB, free: 204 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.679/1.679, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.651/1.651, allocations: 252 MB / 0.5102 GB, free: 4.828 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.0009822/0.0009825, allocations: 19.44 kB / 0.6243 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6134/0.6144, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.002308/0.6168, allocations: 1.8 MB / 0.7299 GB, free: 9.578 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.6179, allocations: 0.7025 MB / 0.7306 GB, free: 8.867 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.6181, allocations: 8 kB / 0.7306 GB, free: 8.859 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.6183, allocations: 31.66 kB / 0.7306 GB, free: 8.828 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.315e-05/0.6184, allocations: 23.8 kB / 0.7306 GB, free: 8.805 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.6186, allocations: 59.92 kB / 0.7307 GB, free: 8.746 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002771/0.6189, allocations: 268.5 kB / 0.731 GB, free: 8.484 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002201/0.6191, allocations: 102.6 kB / 0.7311 GB, free: 8.383 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.608e-05/0.6192, allocations: 63.59 kB / 0.7311 GB, free: 8.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.6193, allocations: 71.5 kB / 0.7312 GB, free: 8.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.6193, allocations: 8 kB / 0.7312 GB, free: 8.242 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.988e-05/0.6194, allocations: 8 kB / 0.7312 GB, free: 8.234 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.827e-05/0.6194, allocations: 27.8 kB / 0.7312 GB, free: 8.207 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.759e-05/0.6195, allocations: 65.58 kB / 0.7313 GB, free: 8.137 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.6197, allocations: 317.1 kB / 0.7316 GB, free: 7.828 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.6197, allocations: 0 / 0.7316 GB, free: 7.828 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.824e-06/0.6198, allocations: 0 / 0.7316 GB, free: 7.828 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.6198, allocations: 0 / 0.7316 GB, free: 7.828 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0007599/0.6205, allocations: 0.5338 MB / 0.7321 GB, free: 7.246 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.6206, allocations: 12.03 kB / 0.7321 GB, free: 7.234 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.773e-05/0.6206, allocations: 23.72 kB / 0.7321 GB, free: 7.211 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.621, allocations: 290.9 kB / 0.7324 GB, free: 6.887 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.621, allocations: 16.44 kB / 0.7324 GB, free: 6.871 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.699e-05/0.6211, allocations: 16 kB / 0.7325 GB, free: 6.855 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004461/0.6215, allocations: 254.7 kB / 0.7327 GB, free: 6.59 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.6215, allocations: 4 kB / 0.7327 GB, free: 6.586 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.6216, allocations: 7.938 kB / 0.7327 GB, free: 6.578 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.6216, allocations: 7.938 kB / 0.7327 GB, free: 6.57 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003949/0.622, allocations: 191.9 kB / 0.7329 GB, free: 6.383 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.6232, allocations: 1.054 MB / 0.7339 GB, free: 5.262 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004852/0.6237, allocations: 210.6 kB / 0.7341 GB, free: 5.047 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.6239, allocations: 100.8 kB / 0.7342 GB, free: 4.945 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.6239, allocations: 4 kB / 0.7342 GB, free: 4.941 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.624, allocations: 34.55 kB / 0.7343 GB, free: 4.898 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.624, allocations: 0 / 0.7343 GB, free: 4.898 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0005889/0.6246, allocations: 253.3 kB / 0.7345 GB, free: 4.645 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.6246, allocations: 81.11 kB / 0.7346 GB, free: 4.547 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002727/0.6249, allocations: 266.6 kB / 0.7348 GB, free: 4.277 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.6249, allocations: 25.7 kB / 0.7349 GB, free: 4.246 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.6251, allocations: 160 kB / 0.735 GB, free: 4.082 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.6251, allocations: 47.39 kB / 0.7351 GB, free: 4.035 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-06/0.6251, allocations: 0 / 0.7351 GB, free: 4.035 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.6252, allocations: 334.8 kB / 0.7354 GB, free: 3.699 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.6254, allocations: 71.95 kB / 0.7354 GB, free: 3.629 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.6256, allocations: 117.7 kB / 0.7356 GB, free: 3.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.6258, allocations: 75.97 kB / 0.7356 GB, free: 3.426 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6258, allocations: 0 / 0.7356 GB, free: 3.426 MB / 0.545 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004354/0.6262, allocations: 233.3 kB / 0.7359 GB, free: 3.191 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.426e-05/0.6263, allocations: 106.8 kB / 0.736 GB, free: 3.074 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.6263, allocations: 0 / 0.736 GB, free: 3.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.6263, allocations: 0 / 0.736 GB, free: 3.074 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.6265, allocations: 47.91 kB / 0.736 GB, free: 3.027 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.6265, allocations: 3.984 kB / 0.736 GB, free: 3.023 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.6267, allocations: 35.83 kB / 0.736 GB, free: 2.988 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.6267, allocations: 7.984 kB / 0.736 GB, free: 2.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.292e-06/0.6267, allocations: 4 kB / 0.7361 GB, free: 2.977 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002985/0.627, allocations: 150.9 kB / 0.7362 GB, free: 2.832 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-06/0.627, allocations: 0 / 0.7362 GB, free: 2.832 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.917e-06/0.627, allocations: 3.953 kB / 0.7362 GB, free: 2.828 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.6271, allocations: 39.92 kB / 0.7362 GB, free: 2.789 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-06/0.6272, allocations: 0 / 0.7362 GB, free: 2.789 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.6273, allocations: 27.86 kB / 0.7363 GB, free: 2.762 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.6273, allocations: 11.94 kB / 0.7363 GB, free: 2.75 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.I.trigger_internal) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001692/0.6275, allocations: 217.1 kB / 0.7365 GB, free: 2.527 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.6275, allocations: 19.72 kB / 0.7365 GB, free: 2.508 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.871e-05/0.6276, allocations: 29.7 kB / 0.7365 GB, free: 2.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.6276, allocations: 3.953 kB / 0.7365 GB, free: 2.477 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.6276, allocations: 0 / 0.7365 GB, free: 2.477 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.6276, allocations: 0 / 0.7365 GB, free: 2.477 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003334/0.6279, allocations: 321.3 kB / 0.7368 GB, free: 2.113 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.6279, allocations: 0 / 0.7368 GB, free: 2.113 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.6281, allocations: 39.91 kB / 0.7369 GB, free: 2.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.6281, allocations: 0 / 0.7369 GB, free: 2.074 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.6281, allocations: 4 kB / 0.7369 GB, free: 2.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.6281, allocations: 0 / 0.7369 GB, free: 2.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.6281, allocations: 3.953 kB / 0.7369 GB, free: 2.066 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006193/0.6288, allocations: 375.2 kB / 0.7372 GB, free: 1.684 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.43e-05/0.6288, allocations: 104.8 kB / 0.7373 GB, free: 1.562 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.6289, allocations: 8 kB / 0.7374 GB, free: 1.555 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.629, allocations: 15.98 kB / 0.7374 GB, free: 1.539 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.468e-05/0.6291, allocations: 19.88 kB / 0.7374 GB, free: 1.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.6291, allocations: 8.062 kB / 0.7374 GB, free: 1.512 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001779/0.6293, allocations: 186 kB / 0.7376 GB, free: 1.332 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6293, allocations: 0 / 0.7376 GB, free: 1.332 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003373/0.6296, allocations: 67.69 kB / 0.7376 GB, free: 1.266 MB / 0.545 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 (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.0001316/0.6298, allocations: 99.25 kB / 0.7377 GB, free: 1.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005625/0.6303, allocations: 239.8 kB / 0.738 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.6304, allocations: 8.25 kB / 0.738 GB, free: 0.918 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.6305, allocations: 76.5 kB / 0.738 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004642/0.631, allocations: 44.53 kB / 0.7381 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008174/0.6318, allocations: 490.1 kB / 0.7385 GB, free: 304 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.6322, allocations: 0.7481 MB / 0.7393 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.822e-05/0.6323, allocations: 25.94 kB / 0.7393 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.915e-05/0.6323, allocations: 19.44 kB / 0.7393 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.6324, allocations: 0 / 0.7393 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of Templates: time 0.005091/0.6375, allocations: 2.027 MB / 0.7413 GB, free: 13.48 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) Environment - environmentSimulation: