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.00182/0.00182, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.002256/0.002256, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.417/1.417, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.83/2.83, allocations: 0.5003 GB / 0.8026 GB, free: 6.887 MB / 0.6387 GB " [Timeout remaining time 177] 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.00198/0.00198, allocations: 63.91 kB / 1.165 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8355/0.8374, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002198/0.8396, allocations: 1.015 MB / 1.341 GB, free: 15.58 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001586/0.8412, allocations: 1.293 MB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.8413, allocations: 7.906 kB / 1.342 GB, free: 14.63 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004703/0.8418, allocations: 109.5 kB / 1.342 GB, free: 14.6 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.8419, allocations: 59.59 kB / 1.343 GB, free: 14.58 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006632/0.8426, allocations: 175 kB / 1.343 GB, free: 14.49 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006374/0.8432, allocations: 0.5575 MB / 1.343 GB, free: 14.27 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002587/0.8435, allocations: 142.3 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002594/0.8437, allocations: 223 kB / 1.344 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003442/0.8441, allocations: 198.7 kB / 1.344 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.8442, allocations: 37.03 kB / 1.344 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.8444, allocations: 82.41 kB / 1.344 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003394/0.8447, allocations: 236 kB / 1.344 GB, free: 13.96 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002166/0.8449, allocations: 205.8 kB / 1.344 GB, free: 13.83 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007956/0.8457, allocations: 0.6726 MB / 1.345 GB, free: 13.61 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.8457, allocations: 0 / 1.345 GB, free: 13.61 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8457, allocations: 1.375 kB / 1.345 GB, free: 13.61 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.8457, allocations: 0 / 1.345 GB, free: 13.61 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.001144/0.8469, allocations: 0.7428 MB / 1.346 GB, free: 13.04 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.8469, allocations: 10.38 kB / 1.346 GB, free: 13.04 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.446e-05/0.847, allocations: 6.125 kB / 1.346 GB, free: 13.04 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.843e-05/0.847, allocations: 54.27 kB / 1.346 GB, free: 12.99 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.8471, allocations: 42.95 kB / 1.346 GB, free: 12.97 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005366/0.8477, allocations: 436.9 kB / 1.346 GB, free: 12.67 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.8477, allocations: 22.27 kB / 1.346 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.209e-05/0.8478, allocations: 31.17 kB / 1.346 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005154/0.8483, allocations: 316.8 kB / 1.347 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.8483, allocations: 4 kB / 1.347 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/0.8483, allocations: 5.656 kB / 1.347 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.8484, allocations: 4.875 kB / 1.347 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003877/0.8487, allocations: 260.2 kB / 1.347 GB, free: 12.43 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/0.8502, allocations: 0.9407 MB / 1.348 GB, free: 11.92 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005923/0.8508, allocations: 370.6 kB / 1.348 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.851, allocations: 133.2 kB / 1.348 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.851, allocations: 3.25 kB / 1.348 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003055/0.8513, allocations: 233 kB / 1.348 GB, free: 11.63 MB / 1.061 GB Notification: Performance of pre-optimization done (n=21): time 1.513e-06/0.8513, allocations: 3.938 kB / 1.348 GB, free: 11.63 MB / 1.061 GB Notification: Performance of matching and sorting (n=21): time 0.0007337/0.8521, allocations: 479.2 kB / 1.349 GB, free: 11.46 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.8521, allocations: 68.52 kB / 1.349 GB, free: 11.38 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000515/0.8526, allocations: 472.9 kB / 1.349 GB, free: 11.18 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.25e-05/0.8527, allocations: 34.02 kB / 1.349 GB, free: 11.15 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.8528, allocations: 184.9 kB / 1.35 GB, free: 11 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.697e-05/0.8528, allocations: 59.8 kB / 1.35 GB, free: 10.95 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.853, allocations: 114.2 kB / 1.35 GB, free: 10.91 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.755e-05/0.8531, allocations: 349.9 kB / 1.35 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.8532, allocations: 99.97 kB / 1.35 GB, free: 10.55 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004207/0.8536, allocations: 420.7 kB / 1.351 GB, free: 10.25 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.8539, allocations: 237.8 kB / 1.351 GB, free: 10.12 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/0.8539, allocations: 4.938 kB / 1.351 GB, free: 10.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004426/0.8544, allocations: 311.5 kB / 1.351 GB, free: 9.984 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.8544, allocations: 8.266 kB / 1.351 GB, free: 9.984 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.8544, allocations: 1.875 kB / 1.351 GB, free: 9.984 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.8544, allocations: 7.844 kB / 1.351 GB, free: 9.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.8545, allocations: 26.03 kB / 1.351 GB, free: 9.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.8545, allocations: 6.828 kB / 1.351 GB, free: 9.977 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007176/0.8553, allocations: 77.52 kB / 1.351 GB, free: 9.949 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.8553, allocations: 6.797 kB / 1.351 GB, free: 9.949 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.0002018/0.8555, allocations: 222.1 kB / 1.352 GB, free: 9.793 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.8555, allocations: 30.8 kB / 1.352 GB, free: 9.777 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00053/0.8561, allocations: 387 kB / 1.352 GB, free: 9.625 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.8561, allocations: 2.062 kB / 1.352 GB, free: 9.625 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.8561, allocations: 1.469 kB / 1.352 GB, free: 9.625 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.8561, allocations: 0.75 kB / 1.352 GB, free: 9.625 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/0.8564, allocations: 383.1 kB / 1.352 GB, free: 9.359 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.8564, allocations: 1.125 kB / 1.352 GB, free: 9.359 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.67e-05/0.8565, allocations: 19.03 kB / 1.352 GB, free: 9.359 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.8565, allocations: 4.969 kB / 1.352 GB, free: 9.355 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.8565, allocations: 10.8 kB / 1.352 GB, free: 9.348 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.8565, allocations: 1.703 kB / 1.352 GB, free: 9.348 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.8565, allocations: 0 / 1.352 GB, free: 9.348 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004506/0.857, allocations: 396 kB / 1.353 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-05/0.857, allocations: 119.1 kB / 1.353 GB, free: 9.051 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.8571, allocations: 2.25 kB / 1.353 GB, free: 9.051 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.8572, allocations: 17.03 kB / 1.353 GB, free: 9.039 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.8572, allocations: 22.81 kB / 1.353 GB, free: 9.031 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.8573, allocations: 7.594 kB / 1.353 GB, free: 9.031 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003288/0.8576, allocations: 341.6 kB / 1.353 GB, free: 8.879 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8576, allocations: 0 / 1.353 GB, free: 8.879 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003538/0.8579, allocations: 83.94 kB / 1.353 GB, free: 8.855 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.000683/0.8586, allocations: 0.9487 MB / 1.354 GB, free: 8.133 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004258/0.8591, allocations: 263 kB / 1.354 GB, free: 8.059 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8591, allocations: 1.094 kB / 1.354 GB, free: 8.059 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.8592, allocations: 131.3 kB / 1.355 GB, free: 8.02 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.8595, allocations: 34.94 kB / 1.355 GB, free: 8 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003903/0.8634, allocations: 3.677 MB / 1.358 GB, free: 5.977 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.8637, allocations: 0.8235 MB / 1.359 GB, free: 5.258 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001963/0.8639, allocations: 80.05 kB / 1.359 GB, free: 5.25 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.864, allocations: 107.3 kB / 1.359 GB, free: 5.176 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/0.864, allocations: 0 / 1.359 GB, free: 5.176 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.8915, allocations: 8.314 MB / 1.367 GB, free: 4.383 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.351/9.243, allocations: 13.77 kB / 1.367 GB, free: 4.375 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.293467148032505] Failed to read output from testmodel.py, exit status != 0: 9.370465854997747 9.388434083 8.538840264 Calling exit ...