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.001933/0.001933, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002375/0.002375, allocations: 216.5 kB / 23.03 MB, free: 4.922 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.801 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 3.2/3.2, allocations: 0.49 GB / 0.7959 GB, free: 35.42 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.002041/0.002041, allocations: 60.56 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3378, allocations: 176.1 MB / 1.327 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002252/0.34, allocations: 0.952 MB / 1.328 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001985/0.342, allocations: 1.276 MB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.3422, allocations: 7.938 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004332/0.3426, allocations: 107.6 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.3427, allocations: 67.73 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006477/0.3434, allocations: 165.9 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007243/0.3441, allocations: 0.55 MB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002827/0.3444, allocations: 116.2 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002915/0.3447, allocations: 227.6 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003232/0.345, allocations: 203.4 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.3451, allocations: 36 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.3453, allocations: 71.91 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003397/0.3457, allocations: 239.5 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.3459, allocations: 171.2 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007714/0.3467, allocations: 0.6777 MB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3467, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3467, allocations: 4 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.3467, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 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.001308/0.348, allocations: 0.6495 MB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.348, allocations: 12.03 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.957e-05/0.348, allocations: 8.625 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.408e-05/0.3481, allocations: 58.72 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.3483, allocations: 44.7 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000677/0.3489, allocations: 378.7 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.349, allocations: 28.8 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.295e-05/0.3491, allocations: 32.38 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005489/0.3496, allocations: 311.5 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.3496, allocations: 3.984 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.817e-05/0.3497, allocations: 11.92 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.3497, allocations: 4 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004112/0.3501, allocations: 257.6 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.3517, allocations: 0.8212 MB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006912/0.3524, allocations: 366.3 kB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/0.3526, allocations: 136.8 kB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/0.3526, allocations: 4 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003577/0.353, allocations: 232.1 kB / 1.335 GB, free: 9.199 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 2.355e-06/0.353, allocations: 3.938 kB / 1.335 GB, free: 9.195 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.0008552/0.3538, allocations: 480.4 kB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.3539, allocations: 55.41 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006018/0.3545, allocations: 477.6 kB / 1.336 GB, free: 8.184 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.316e-05/0.3546, allocations: 37.7 kB / 1.336 GB, free: 8.141 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.3547, allocations: 189 kB / 1.336 GB, free: 7.949 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.084e-05/0.3548, allocations: 55.55 kB / 1.336 GB, free: 7.895 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.355, allocations: 109.6 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.3552, allocations: 350.8 kB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.3553, allocations: 99.88 kB / 1.336 GB, free: 7.332 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000875/0.3562, allocations: 0.9653 MB / 1.337 GB, free: 6.145 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003318/0.3565, allocations: 239.2 kB / 1.337 GB, free: 5.891 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3565, allocations: 0 / 1.337 GB, free: 5.891 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005583/0.3571, allocations: 311.1 kB / 1.338 GB, free: 5.582 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.3571, allocations: 8 kB / 1.338 GB, free: 5.574 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3571, allocations: 0 / 1.338 GB, free: 5.574 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.3571, allocations: 4 kB / 1.338 GB, free: 5.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.3573, allocations: 35.92 kB / 1.338 GB, free: 5.535 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.3573, allocations: 192 / 1.338 GB, free: 5.535 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007705/0.3581, allocations: 71.8 kB / 1.338 GB, free: 5.465 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.3581, allocations: 11.98 kB / 1.338 GB, free: 5.453 MB / 1.029 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.0003049/0.3584, allocations: 230.1 kB / 1.338 GB, free: 5.219 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/0.3585, allocations: 31.77 kB / 1.338 GB, free: 5.188 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006173/0.3591, allocations: 380.8 kB / 1.339 GB, free: 4.812 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.3591, allocations: 4 kB / 1.339 GB, free: 4.809 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.3591, allocations: 4 kB / 1.339 GB, free: 4.805 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.3591, allocations: 7.922 kB / 1.339 GB, free: 4.797 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003898/0.3595, allocations: 316.4 kB / 1.339 GB, free: 4.445 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3595, allocations: 0 / 1.339 GB, free: 4.445 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.3596, allocations: 27.98 kB / 1.339 GB, free: 4.418 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3596, allocations: 0 / 1.339 GB, free: 4.418 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.3596, allocations: 4 kB / 1.339 GB, free: 4.414 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3596, allocations: 0 / 1.339 GB, free: 4.414 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3596, allocations: 0 / 1.339 GB, free: 4.414 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005761/0.3602, allocations: 406.4 kB / 1.339 GB, free: 4 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.663e-05/0.3603, allocations: 47.73 kB / 1.339 GB, free: 3.953 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.277e-05/0.3603, allocations: 4 kB / 1.339 GB, free: 3.949 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.3604, allocations: 4 kB / 1.339 GB, free: 3.945 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.048e-05/0.3605, allocations: 19.97 kB / 1.339 GB, free: 3.926 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/0.3605, allocations: 8 kB / 1.339 GB, free: 3.918 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003977/0.3609, allocations: 343.1 kB / 1.34 GB, free: 3.582 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3609, allocations: 0 / 1.34 GB, free: 3.582 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004099/0.3613, allocations: 83.81 kB / 1.34 GB, free: 3.5 MB / 1.029 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.0009937/0.3623, allocations: 0.9417 MB / 1.341 GB, free: 2.527 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004964/0.3628, allocations: 266.2 kB / 1.341 GB, free: 2.27 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3628, allocations: 0 / 1.341 GB, free: 2.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.363, allocations: 139.8 kB / 1.341 GB, free: 2.133 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.3633, allocations: 31.14 kB / 1.341 GB, free: 2.105 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004854/0.3682, allocations: 3.674 MB / 1.345 GB, free: 14.31 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.3684, allocations: 220.2 kB / 1.345 GB, free: 14.07 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002407/0.3687, allocations: 86.17 kB / 1.345 GB, free: 13.99 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.3688, allocations: 103.4 kB / 1.345 GB, free: 13.89 MB / 1.045 GB Notification: Performance of SimCode: time 1.252e-06/0.3688, allocations: 0 / 1.345 GB, free: 13.89 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03273/0.4016, allocations: 8.856 MB / 1.354 GB, free: 5.34 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/12.72, allocations: 6.266 kB / 1.354 GB, free: 5.34 MB / 1.045 GB " [Timeout remaining time 287] (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: 19.45866691810079] Failed to read output from testmodel.py, exit status != 0: 12.89398690406233 12.921850771 12.570110184 Calling exit ...