Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 112.1 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002077/0.002077, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 225.6 MB / 249.4 MB, free: 3.281 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.791/2.791, allocations: 476.7 MB / 0.7629 GB, free: 15.19 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_LastTrueIndex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_LastTrueIndex",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 67.89 kB / 1.107 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9583/0.9603, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex): time 0.002409/0.9627, allocations: 0.7314 MB / 1.272 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000234/0.963, allocations: 43.86 kB / 1.272 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.135e-05/0.963, allocations: 6.281 kB / 1.272 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.9632, allocations: 17.45 kB / 1.272 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.9633, allocations: 12.19 kB / 1.272 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.996e-05/0.9634, allocations: 20.02 kB / 1.272 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002842/0.9636, allocations: 186.5 kB / 1.272 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003144/0.9639, allocations: 144 kB / 1.273 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.9641, allocations: 103.6 kB / 1.273 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.9642, allocations: 108.8 kB / 1.273 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.645e-05/0.9643, allocations: 24.5 kB / 1.273 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.769e-05/0.9643, allocations: 25.09 kB / 1.273 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.696e-05/0.9644, allocations: 75.69 kB / 1.273 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.9645, allocations: 119.4 kB / 1.273 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004039/0.9649, allocations: 378.1 kB / 1.273 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.965, allocations: 0 / 1.273 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.204e-06/0.965, allocations: 1 kB / 1.273 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.697e-06/0.965, allocations: 4 kB / 1.273 GB, free: 6.648 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0006428/0.9656, allocations: 0.5463 MB / 1.274 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.9656, allocations: 9.469 kB / 1.274 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.671e-05/0.9657, allocations: 63.36 kB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.385e-05/0.9658, allocations: 35.95 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/0.9661, allocations: 319 kB / 1.274 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.701e-05/0.9662, allocations: 34.94 kB / 1.274 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.219e-05/0.9662, allocations: 29.12 kB / 1.274 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005158/0.9667, allocations: 344 kB / 1.275 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.9668, allocations: 4.938 kB / 1.275 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.092e-05/0.9668, allocations: 10.19 kB / 1.275 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.9668, allocations: 6.219 kB / 1.275 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004234/0.9672, allocations: 257.6 kB / 1.275 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.9684, allocations: 0.9214 MB / 1.276 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.685e-05/0.9685, allocations: 57.8 kB / 1.276 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.273e-05/0.9685, allocations: 33.84 kB / 1.276 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.9685, allocations: 0.9062 kB / 1.276 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/0.9685, allocations: 36.41 kB / 1.276 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.9686, allocations: 4 kB / 1.276 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002798/0.9688, allocations: 133 kB / 1.276 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.9689, allocations: 80.48 kB / 1.276 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005841/0.9694, allocations: 477.2 kB / 1.277 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.9695, allocations: 25.7 kB / 1.277 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.9696, allocations: 181.7 kB / 1.277 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.225e-05/0.9696, allocations: 9.422 kB / 1.277 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-05/0.9697, allocations: 44.39 kB / 1.277 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.36e-05/0.9698, allocations: 345.2 kB / 1.277 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.189e-05/0.9698, allocations: 60.89 kB / 1.277 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.479e-05/0.9699, allocations: 81.02 kB / 1.277 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.9701, allocations: 100.5 kB / 1.278 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.9701, allocations: 0.6875 kB / 1.278 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002473/0.9703, allocations: 191.9 kB / 1.278 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.9703, allocations: 5.656 kB / 1.278 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.9703, allocations: 4.906 kB / 1.278 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.9704, allocations: 0.9375 kB / 1.278 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.9705, allocations: 25.97 kB / 1.278 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.9705, allocations: 0.8125 kB / 1.278 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.645e-05/0.9706, allocations: 32.64 kB / 1.278 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.9706, allocations: 4.625 kB / 1.278 GB, free: 3.672 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (idxLasTru.booToInt[1].y,idxLasTru.booToInt[2].y,idxLasTru.booToInt[3].y,idxLasTru.booToInt[4].y,idxLasTru.booToInt[5].y,idxLasTru.booToInt[6].y,idxLasTru.y,idxLasTruAllFal.booToInt[1].y,idxLasTruAllFal.booToInt[2].y,idxLasTruAllFal.booToInt[3].y,idxLasTruAllFal.booToInt[4].y,idxLasTruAllFal.booToInt[5].y,idxLasTruAllFal.booToInt[6].y,idxLasTruAllFal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001587/0.9707, allocations: 196.6 kB / 1.278 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/0.9708, allocations: 35.06 kB / 1.278 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001538/0.971, allocations: 156.4 kB / 1.278 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.677e-05/0.971, allocations: 181.1 kB / 1.278 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-05/0.971, allocations: 181.3 kB / 1.278 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.577e-05/0.971, allocations: 182.6 kB / 1.279 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.9713, allocations: 0.5192 MB / 1.279 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/0.9713, allocations: 102 kB / 1.279 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.59e-05/0.9714, allocations: 106 kB / 1.279 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.57e-05/0.9714, allocations: 186.5 kB / 1.28 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.9714, allocations: 181.2 kB / 1.28 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.097e-05/0.9714, allocations: 178.5 kB / 1.28 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-05/0.9715, allocations: 187.6 kB / 1.28 GB, free: 17.38 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.9717, allocations: 334.7 kB / 1.28 GB, free: 17.05 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.9718, allocations: 220.2 kB / 1.281 GB, free: 16.82 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.972, allocations: 178.8 kB / 1.281 GB, free: 16.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.9721, allocations: 108 kB / 1.281 GB, free: 16.54 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.78e-05/0.9722, allocations: 182.5 kB / 1.281 GB, free: 16.35 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.311e-05/0.9722, allocations: 106 kB / 1.281 GB, free: 16.24 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004138/0.9726, allocations: 364.1 kB / 1.281 GB, free: 16.08 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.9726, allocations: 0 / 1.281 GB, free: 16.08 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002942/0.9729, allocations: 34.48 kB / 1.282 GB, free: 16.07 MB / 1.014 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 0.0004997/0.9734, allocations: 0.8419 MB / 1.282 GB, free: 15.24 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001817/0.9736, allocations: 75.3 kB / 1.282 GB, free: 15.21 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.9736, allocations: 5 kB / 1.282 GB, free: 15.21 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.814e-06/0.9736, allocations: 0 / 1.282 GB, free: 15.21 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004939/0.9741, allocations: 484.4 kB / 1.283 GB, free: 14.75 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003196/0.9773, allocations: 2.822 MB / 1.286 GB, free: 12.93 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000448/0.9777, allocations: 0.7742 MB / 1.286 GB, free: 12.22 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001391/0.9779, allocations: 53.72 kB / 1.286 GB, free: 12.22 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.978, allocations: 80.25 kB / 1.287 GB, free: 12.16 MB / 1.014 GB Notification: Performance of SimCode: time 6.91e-07/0.978, allocations: 0 / 1.287 GB, free: 12.16 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03038/1.008, allocations: 4.945 MB / 1.291 GB, free: 11.53 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.265/9.273, allocations: 3.984 kB / 1.291 GB, free: 11.52 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_LastTrueIndex.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.1960936000105] Failed to read output from testmodel.py, exit status != 0: 9.345998031989438 9.362813303 8.394610417 Calling exit ...