Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.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.002261/0.002261, allocations: 117.1 kB / 17.16 MB, free: 5.895 MB / 14.72 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.002556/0.002556, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 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 1.545/1.545, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.974/2.974, allocations: 0.49 GB / 0.7923 GB, free: 1.359 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 63.91 kB / 1.149 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9583/0.9603, allocations: 176.1 MB / 1.321 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002125/0.9625, allocations: 1.005 MB / 1.322 GB, free: 24.12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001575/0.964, allocations: 1.292 MB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.9642, allocations: 2.469 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004276/0.9646, allocations: 119.8 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.24e-05/0.9647, allocations: 54.2 kB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005425/0.9652, allocations: 176.5 kB / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004923/0.9657, allocations: 0.5518 MB / 1.325 GB, free: 22.81 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000206/0.9659, allocations: 148.4 kB / 1.325 GB, free: 22.75 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.9661, allocations: 221.6 kB / 1.325 GB, free: 22.68 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.9663, allocations: 198.8 kB / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.314e-05/0.9664, allocations: 37.38 kB / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.9665, allocations: 77.86 kB / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002213/0.9667, allocations: 244.8 kB / 1.325 GB, free: 22.49 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.9669, allocations: 205.8 kB / 1.326 GB, free: 22.36 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005656/0.9675, allocations: 0.6615 MB / 1.326 GB, free: 22.14 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.9675, allocations: 0 / 1.326 GB, free: 22.14 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9675, allocations: 0.6562 kB / 1.326 GB, free: 22.14 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.9675, allocations: 4 kB / 1.326 GB, free: 22.14 MB / 1.061 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.001283/0.9688, allocations: 0.748 MB / 1.327 GB, free: 21.57 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.9688, allocations: 14.08 kB / 1.327 GB, free: 21.57 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.265e-05/0.9688, allocations: 5.094 kB / 1.327 GB, free: 21.57 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.875e-05/0.9689, allocations: 56.91 kB / 1.327 GB, free: 21.52 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.9691, allocations: 42.89 kB / 1.327 GB, free: 21.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006138/0.9697, allocations: 441.4 kB / 1.328 GB, free: 21.19 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.796e-05/0.9697, allocations: 26 kB / 1.328 GB, free: 21.18 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-05/0.9698, allocations: 30.47 kB / 1.328 GB, free: 21.17 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005171/0.9703, allocations: 310.5 kB / 1.328 GB, free: 21.05 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.9703, allocations: 0.6562 kB / 1.328 GB, free: 21.05 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.9704, allocations: 5.656 kB / 1.328 GB, free: 21.04 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.9704, allocations: 5.094 kB / 1.328 GB, free: 21.04 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004322/0.9708, allocations: 259.9 kB / 1.328 GB, free: 20.96 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.9725, allocations: 0.9523 MB / 1.329 GB, free: 20.44 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006206/0.9731, allocations: 363.4 kB / 1.329 GB, free: 20.31 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.9733, allocations: 128.7 kB / 1.33 GB, free: 20.26 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.9733, allocations: 6.734 kB / 1.33 GB, free: 20.26 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00033/0.9737, allocations: 229.1 kB / 1.33 GB, free: 20.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=21): time 2.555e-06/0.9737, allocations: 0 / 1.33 GB, free: 20.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=21): time 0.0008072/0.9745, allocations: 487.8 kB / 1.33 GB, free: 19.98 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.9745, allocations: 56.28 kB / 1.33 GB, free: 19.92 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005289/0.9751, allocations: 476 kB / 1.331 GB, free: 19.71 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.089e-05/0.9751, allocations: 35.39 kB / 1.331 GB, free: 19.67 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.9753, allocations: 183.2 kB / 1.331 GB, free: 19.52 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.062e-05/0.9753, allocations: 60.19 kB / 1.331 GB, free: 19.48 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.9755, allocations: 114.7 kB / 1.331 GB, free: 19.43 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.936e-05/0.9756, allocations: 348.5 kB / 1.331 GB, free: 19.11 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.9757, allocations: 97.06 kB / 1.332 GB, free: 19.08 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004892/0.9762, allocations: 420.2 kB / 1.332 GB, free: 18.78 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/0.9765, allocations: 243.6 kB / 1.332 GB, free: 18.64 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.9765, allocations: 1.125 kB / 1.332 GB, free: 18.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005022/0.977, allocations: 311.5 kB / 1.332 GB, free: 18.51 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.977, allocations: 6.281 kB / 1.333 GB, free: 18.51 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.977, allocations: 1.75 kB / 1.333 GB, free: 18.51 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.977, allocations: 3.391 kB / 1.333 GB, free: 18.51 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.9772, allocations: 29.81 kB / 1.333 GB, free: 18.51 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.9772, allocations: 3.453 kB / 1.333 GB, free: 18.51 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007853/0.978, allocations: 73.12 kB / 1.333 GB, free: 18.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.978, allocations: 11.14 kB / 1.333 GB, free: 18.48 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,u1Equ.intTimTab.idx,$PRE.u1Equ.intTimTab.idx,u1Equ.intTimTab.y[2],$PRE.u1Equ.intTimTab.y[2],u1Equ.intTimTab.y[1],$PRE.u1Equ.intTimTab.y[1],u1Equ.y[2],u1Equ.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0002458/0.9783, allocations: 222.7 kB / 1.333 GB, free: 18.32 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.196e-05/0.9783, allocations: 34.39 kB / 1.333 GB, free: 18.3 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007005/0.979, allocations: 386 kB / 1.333 GB, free: 18.16 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.979, allocations: 6 kB / 1.333 GB, free: 18.16 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.979, allocations: 1.531 kB / 1.333 GB, free: 18.16 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.979, allocations: 4.734 kB / 1.333 GB, free: 18.15 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004356/0.9795, allocations: 387.2 kB / 1.334 GB, free: 17.88 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.9795, allocations: 0 / 1.334 GB, free: 17.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.9796, allocations: 22.98 kB / 1.334 GB, free: 17.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.9796, allocations: 1.031 kB / 1.334 GB, free: 17.88 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/0.9796, allocations: 7.547 kB / 1.334 GB, free: 17.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.9796, allocations: 1.156 kB / 1.334 GB, free: 17.88 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.9797, allocations: 0.5625 kB / 1.334 GB, free: 17.88 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005209/0.9802, allocations: 394.6 kB / 1.334 GB, free: 17.7 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.699e-05/0.9802, allocations: 125.2 kB / 1.334 GB, free: 17.57 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.9803, allocations: 2.312 kB / 1.334 GB, free: 17.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.9804, allocations: 15 kB / 1.334 GB, free: 17.56 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.017e-05/0.9805, allocations: 17.78 kB / 1.334 GB, free: 17.56 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.9805, allocations: 7.625 kB / 1.334 GB, free: 17.56 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003569/0.9809, allocations: 342 kB / 1.335 GB, free: 17.41 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.9809, allocations: 0 / 1.335 GB, free: 17.41 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004448/0.9813, allocations: 79.8 kB / 1.335 GB, free: 17.39 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,u1Equ.y[1],u1Equ.y[2],u1Equ.intTimTab.y[1],u1Equ.intTimTab.y[2],u1Equ.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0007208/0.982, allocations: 0.9528 MB / 1.336 GB, free: 16.66 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004876/0.9825, allocations: 258.2 kB / 1.336 GB, free: 16.59 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.9825, allocations: 1.094 kB / 1.336 GB, free: 16.59 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.9827, allocations: 131 kB / 1.336 GB, free: 16.55 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.983, allocations: 36.88 kB / 1.336 GB, free: 16.54 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004259/0.9872, allocations: 3.672 MB / 1.34 GB, free: 14.51 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.9875, allocations: 0.8309 MB / 1.34 GB, free: 13.79 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002298/0.9878, allocations: 79.7 kB / 1.34 GB, free: 13.78 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.9879, allocations: 107.5 kB / 1.341 GB, free: 13.7 MB / 1.061 GB Notification: Performance of SimCode: time 8.72e-07/0.9879, allocations: 0 / 1.341 GB, free: 13.7 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03078/1.019, allocations: 8.324 MB / 1.349 GB, free: 12.91 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.764/9.783, allocations: 17.95 kB / 1.349 GB, free: 12.89 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint_res.mat --tempDir=temp_Buildings_12_Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint.fmu > Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.317744215019047] Failed to read output from testmodel.py, exit status != 0: 9.914914052991662 9.928279413 8.957999864 Calling exit ...