Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateSelectLogical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 76.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 176.9 kB / 23.36 MB, free: 1.125 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9611/0.9611, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.402/2.402, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateSelectLogical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateSelectLogical") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateSelectLogical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateSelectLogical") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.046e-06/3.046e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.424e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter cat1.selAva.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter sel1.selAva.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter sel2.selAva.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateSelectLogical): time 0.001865/0.001889, allocations: 1.186 MB / 0.8398 GB, free: 13 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007361/0.002625, allocations: 470.6 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.002769, allocations: 27.75 kB / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.002987, allocations: 95.34 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.003148, allocations: 47.75 kB / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001827/0.003331, allocations: 87.73 kB / 0.8405 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002585/0.003589, allocations: 291.2 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.003803, allocations: 169.2 kB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.00403, allocations: 195.6 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.649e-05/0.004106, allocations: 75.8 kB / 0.8412 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.004135, allocations: 24 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.279e-05/0.004198, allocations: 24 kB / 0.8412 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.907e-05/0.004257, allocations: 79.69 kB / 0.8413 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.143e-05/0.004308, allocations: 63.78 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.004523, allocations: 219.2 kB / 0.8416 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.004525, allocations: 0 / 0.8416 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.81e-07/0.004525, allocations: 0 / 0.8416 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.004529, allocations: 0 / 0.8416 GB, free: 11.16 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0003592/0.004888, allocations: 471.7 kB / 0.842 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.004918, allocations: 8.922 kB / 0.842 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/0.005099, allocations: 52.89 kB / 0.8421 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.005385, allocations: 300.6 kB / 0.8424 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.005407, allocations: 16.88 kB / 0.8424 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.005425, allocations: 20.38 kB / 0.8424 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.005574, allocations: 141.3 kB / 0.8425 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.005586, allocations: 192 / 0.8425 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.0056, allocations: 12.38 kB / 0.8425 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.005606, allocations: 8.375 kB / 0.8425 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.8e-05/0.005664, allocations: 47.36 kB / 0.8426 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.006114, allocations: 0.606 MB / 0.8432 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.566e-05/0.00617, allocations: 173.1 kB / 0.8433 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.21e-05/0.006192, allocations: 92.08 kB / 0.8434 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.006211, allocations: 79.27 kB / 0.8435 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.006246, allocations: 109.8 kB / 0.8436 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 6.61e-07/0.006246, allocations: 0 / 0.8436 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.126e-05/0.006297, allocations: 37.69 kB / 0.8436 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.006337, allocations: 130.6 kB / 0.8438 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.006514, allocations: 248.9 kB / 0.844 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.006524, allocations: 29.7 kB / 0.844 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.936e-05/0.006603, allocations: 156.7 kB / 0.8442 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.423e-06/0.006605, allocations: 0 / 0.8442 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.006649, allocations: 41.67 kB / 0.8442 GB, free: 8.254 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.139e-05/0.006741, allocations: 326.8 kB / 0.8445 GB, free: 7.926 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.992e-06/0.006747, allocations: 3.984 kB / 0.8445 GB, free: 7.922 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.563e-05/0.006792, allocations: 87.69 kB / 0.8446 GB, free: 7.809 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.087e-05/0.006823, allocations: 26.55 kB / 0.8447 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.006825, allocations: 0 / 0.8447 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.41e-05/0.006909, allocations: 61.55 kB / 0.8447 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.006923, allocations: 10.34 kB / 0.8447 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.006931, allocations: 0 / 0.8447 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.006942, allocations: 3.938 kB / 0.8447 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.099e-05/0.006953, allocations: 4 kB / 0.8447 GB, free: 7.691 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.006956, allocations: 0 / 0.8447 GB, free: 7.691 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.764e-05/0.006983, allocations: 3.953 kB / 0.8447 GB, free: 7.688 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.006989, allocations: 4.094 kB / 0.8447 GB, free: 7.684 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (cat1.cat1.con[1].y,cat1.cat1.con[2].y,cat1.cat1.con[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.708e-05/0.007086, allocations: 203.9 kB / 0.8449 GB, free: 7.473 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.905e-05/0.007135, allocations: 112.9 kB / 0.845 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.866e-05/0.007183, allocations: 121.8 kB / 0.8452 GB, free: 7.234 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.834e-05/0.007232, allocations: 188.2 kB / 0.8453 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.506e-05/0.007277, allocations: 184.3 kB / 0.8455 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.311e-05/0.00732, allocations: 176.3 kB / 0.8457 GB, free: 6.676 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.007518, allocations: 369.3 kB / 0.846 GB, free: 6.289 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.69e-05/0.007545, allocations: 105 kB / 0.8461 GB, free: 6.18 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.932e-05/0.007575, allocations: 104.9 kB / 0.8462 GB, free: 6.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.882e-05/0.007624, allocations: 180.3 kB / 0.8464 GB, free: 5.887 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-05/0.007669, allocations: 184.2 kB / 0.8466 GB, free: 5.699 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.671e-05/0.007716, allocations: 188.2 kB / 0.8468 GB, free: 5.508 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.53e-05/0.007761, allocations: 184.2 kB / 0.8469 GB, free: 5.32 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.00787, allocations: 311.8 kB / 0.8472 GB, free: 4.992 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.00791, allocations: 116.8 kB / 0.8473 GB, free: 4.871 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.388e-05/0.007964, allocations: 184.2 kB / 0.8475 GB, free: 4.684 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.528e-05/0.008029, allocations: 105 kB / 0.8476 GB, free: 4.574 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.008077, allocations: 180.2 kB / 0.8478 GB, free: 4.391 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.008107, allocations: 113 kB / 0.8479 GB, free: 4.273 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.426e-05/0.008172, allocations: 66.78 kB / 0.848 GB, free: 4.207 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.008172, allocations: 4 kB / 0.848 GB, free: 4.203 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002053/0.008377, allocations: 35.84 kB / 0.848 GB, free: 4.168 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (0): * Single equations (assignments): 0 * 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 9.243e-05/0.008469, allocations: 155.7 kB / 0.8481 GB, free: 4.004 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.571e-05/0.008525, allocations: 12.8 kB / 0.8482 GB, free: 3.988 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.00853, allocations: 4 kB / 0.8482 GB, free: 3.984 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.008531, allocations: 0 / 0.8482 GB, free: 3.984 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.008781, allocations: 470.6 kB / 0.8486 GB, free: 3.523 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.009227, allocations: 466.4 kB / 0.8491 GB, free: 3.047 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.353e-05/0.00928, allocations: 91.8 kB / 0.8491 GB, free: 2.938 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.746e-05/0.009308, allocations: 13.48 kB / 0.8492 GB, free: 2.922 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.176e-05/0.00935, allocations: 67.31 kB / 0.8492 GB, free: 2.855 MB / 0.8073 GB Notification: Performance of SimCode: time 6.81e-07/0.00935, allocations: 3.938 kB / 0.8492 GB, free: 2.852 MB / 0.8073 GB Notification: Performance of Templates: time 0.002778/0.01213, allocations: 0.5538 MB / 0.8498 GB, free: 2.336 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateSelectLogical.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateSelectLogical.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateSelectLogical.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateSelectLogical.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateSelectLogical.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateSelectLogical -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateSelectLogical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.075330471619964]