Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001766/0.001766, allocations: 110.4 kB / 19.73 MB, free: 2.242 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.002077/0.002077, allocations: 217.3 kB / 23.05 MB, free: 5.074 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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 3.194/3.194, allocations: 0.5003 GB / 0.8061 GB, free: 26.72 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint,fileNamePrefix="Buildings_latest_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.002033/0.002033, allocations: 66.2 kB / 1.171 GB, free: 19.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3462, allocations: 179 MB / 1.345 GB, free: 464 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002368/0.3486, allocations: 1.003 MB / 1.346 GB, free: 15.45 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0019/0.3505, allocations: 1.295 MB / 1.348 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.3506, allocations: 7.938 kB / 1.348 GB, free: 14.13 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0003856/0.351, allocations: 115.6 kB / 1.348 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.3511, allocations: 59.73 kB / 1.348 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006351/0.3517, allocations: 178.1 kB / 1.348 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006892/0.3524, allocations: 0.5539 MB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002346/0.3526, allocations: 112.2 kB / 1.349 GB, free: 13.12 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002724/0.3529, allocations: 231.6 kB / 1.349 GB, free: 12.9 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003319/0.3532, allocations: 203.4 kB / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.894e-05/0.3533, allocations: 36 kB / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.3535, allocations: 75.95 kB / 1.349 GB, free: 12.59 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003202/0.3538, allocations: 239.5 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002429/0.3541, allocations: 203.1 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007716/0.3548, allocations: 0.666 MB / 1.35 GB, free: 11.49 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3548, allocations: 4 kB / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3548, allocations: 0 / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.3549, allocations: 0 / 1.35 GB, free: 11.48 MB / 1.045 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.001295/0.3562, allocations: 0.665 MB / 1.351 GB, free: 10.79 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.3562, allocations: 12.03 kB / 1.351 GB, free: 10.77 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.97e-05/0.3562, allocations: 8.609 kB / 1.351 GB, free: 10.77 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.391e-05/0.3563, allocations: 54.73 kB / 1.351 GB, free: 10.7 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.3564, allocations: 44.69 kB / 1.351 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006963/0.3571, allocations: 374.8 kB / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.823e-05/0.3572, allocations: 32.75 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.577e-05/0.3572, allocations: 28.38 kB / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005298/0.3578, allocations: 315.5 kB / 1.352 GB, free: 9.895 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3578, allocations: 0 / 1.352 GB, free: 9.895 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.3578, allocations: 4 kB / 1.352 GB, free: 9.891 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.3578, allocations: 4 kB / 1.352 GB, free: 9.887 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004165/0.3582, allocations: 261.5 kB / 1.352 GB, free: 9.629 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001704/0.3599, allocations: 0.9187 MB / 1.353 GB, free: 8.668 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000677/0.3606, allocations: 367 kB / 1.353 GB, free: 8.301 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/0.3608, allocations: 140.7 kB / 1.353 GB, free: 8.16 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.3609, allocations: 0 / 1.353 GB, free: 8.16 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003855/0.3613, allocations: 243 kB / 1.353 GB, free: 7.91 MB / 1.045 GB Notification: Performance of pre-optimization done (n=21): time 1.924e-06/0.3613, allocations: 0 / 1.353 GB, free: 7.91 MB / 1.045 GB Notification: Performance of matching and sorting (n=21): time 0.0008718/0.3621, allocations: 475.5 kB / 1.354 GB, free: 7.441 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.3622, allocations: 55.41 kB / 1.354 GB, free: 7.375 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005732/0.3628, allocations: 477.6 kB / 1.354 GB, free: 6.902 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.801e-05/0.3628, allocations: 37.7 kB / 1.354 GB, free: 6.859 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.363, allocations: 180.9 kB / 1.355 GB, free: 6.676 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.247e-05/0.3631, allocations: 59.66 kB / 1.355 GB, free: 6.617 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.3633, allocations: 117.5 kB / 1.355 GB, free: 6.496 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3634, allocations: 346.8 kB / 1.355 GB, free: 6.148 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.3636, allocations: 103.9 kB / 1.355 GB, free: 6.047 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005301/0.3641, allocations: 417.2 kB / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003217/0.3644, allocations: 241 kB / 1.356 GB, free: 5.297 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3644, allocations: 3.938 kB / 1.356 GB, free: 5.293 MB / 1.045 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005386/0.365, allocations: 309.2 kB / 1.356 GB, free: 4.984 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.365, allocations: 8 kB / 1.356 GB, free: 4.977 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.365, allocations: 0 / 1.356 GB, free: 4.977 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.365, allocations: 4 kB / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.3652, allocations: 31.92 kB / 1.356 GB, free: 4.941 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.3652, allocations: 0 / 1.356 GB, free: 4.941 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007664/0.3659, allocations: 75.95 kB / 1.356 GB, free: 4.867 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.366, allocations: 12 kB / 1.356 GB, free: 4.855 MB / 1.045 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.0002789/0.3662, allocations: 225.6 kB / 1.357 GB, free: 4.625 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.732e-05/0.3663, allocations: 31.8 kB / 1.357 GB, free: 4.594 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005959/0.3669, allocations: 390.7 kB / 1.357 GB, free: 4.207 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3669, allocations: 0 / 1.357 GB, free: 4.207 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3669, allocations: 0 / 1.357 GB, free: 4.207 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3669, allocations: 0 / 1.357 GB, free: 4.207 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004092/0.3673, allocations: 360.4 kB / 1.357 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.3673, allocations: 3.984 kB / 1.357 GB, free: 3.809 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.3674, allocations: 16 kB / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.3674, allocations: 4 kB / 1.357 GB, free: 3.789 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.3674, allocations: 7.984 kB / 1.357 GB, free: 3.781 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.3674, allocations: 0 / 1.357 GB, free: 3.781 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3674, allocations: 4 kB / 1.357 GB, free: 3.777 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005378/0.368, allocations: 391.1 kB / 1.358 GB, free: 3.379 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.399e-05/0.3681, allocations: 43.73 kB / 1.358 GB, free: 3.336 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.273e-05/0.3681, allocations: 12 kB / 1.358 GB, free: 3.324 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.3682, allocations: 11.98 kB / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.159e-05/0.3683, allocations: 15.97 kB / 1.358 GB, free: 3.297 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.3683, allocations: 11.94 kB / 1.358 GB, free: 3.285 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000422/0.3687, allocations: 343.1 kB / 1.358 GB, free: 2.953 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3687, allocations: 0 / 1.358 GB, free: 2.953 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004/0.3691, allocations: 79.83 kB / 1.358 GB, free: 2.875 MB / 1.045 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.0009662/0.3701, allocations: 0.9528 MB / 1.359 GB, free: 1.891 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000517/0.3706, allocations: 259.7 kB / 1.359 GB, free: 1.637 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3706, allocations: 0 / 1.359 GB, free: 1.637 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.3708, allocations: 133.8 kB / 1.359 GB, free: 1.508 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.3711, allocations: 35 kB / 1.36 GB, free: 1.477 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004702/0.3758, allocations: 3.677 MB / 1.363 GB, free: 13.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005246/0.3764, allocations: 0.8263 MB / 1.364 GB, free: 12.82 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002504/0.3766, allocations: 74.25 kB / 1.364 GB, free: 12.75 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.3768, allocations: 107.4 kB / 1.364 GB, free: 12.64 MB / 1.061 GB Notification: Performance of SimCode: time 9.42e-07/0.3768, allocations: 0 / 1.364 GB, free: 12.64 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03226/0.4091, allocations: 8.508 MB / 1.372 GB, free: 4.352 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.55, allocations: 6.75 kB / 1.372 GB, free: 4.348 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.190824627003167] Failed to read output from testmodel.py, exit status != 0: 12.719395476975478 12.750154504 12.389922136 Calling exit ...