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.00128/0.00128, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001479/0.001479, allocations: 208.7 kB / 23.04 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.172/3.172, allocations: 0.49 GB / 0.7959 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 177] 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.001957/0.001957, allocations: 69.92 kB / 1.155 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3336, allocations: 176.1 MB / 1.327 GB, free: 2.039 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002496/0.3361, allocations: 1.012 MB / 1.328 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001909/0.338, allocations: 1.318 MB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.3381, allocations: 7.938 kB / 1.329 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004126/0.3386, allocations: 103.6 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.3387, allocations: 59.78 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006383/0.3393, allocations: 174.2 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007443/0.34, allocations: 0.5617 MB / 1.33 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002519/0.3403, allocations: 116.2 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002853/0.3406, allocations: 219.6 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003185/0.3409, allocations: 199.4 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.945e-05/0.341, allocations: 40 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001892/0.3412, allocations: 83.89 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003342/0.3415, allocations: 235.5 kB / 1.331 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000253/0.3418, allocations: 203.1 kB / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008037/0.3426, allocations: 0.6699 MB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3426, allocations: 0 / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3426, allocations: 0 / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.076e-06/0.3426, allocations: 0 / 1.331 GB, free: 13.05 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.001413/0.344, allocations: 0.6611 MB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.344, allocations: 12.03 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.185e-05/0.3441, allocations: 8.625 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.353e-05/0.3441, allocations: 54.73 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.3443, allocations: 40.7 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000653/0.3449, allocations: 386.7 kB / 1.333 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.345, allocations: 20.81 kB / 1.333 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.21e-05/0.345, allocations: 32.38 kB / 1.333 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005227/0.3456, allocations: 307.5 kB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3456, allocations: 4 kB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/0.3456, allocations: 12 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.3456, allocations: 4 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004111/0.346, allocations: 253.6 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.3478, allocations: 0.9186 MB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006423/0.3484, allocations: 374.3 kB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.3486, allocations: 132.8 kB / 1.335 GB, free: 9.734 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.3486, allocations: 4 kB / 1.335 GB, free: 9.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003443/0.349, allocations: 231.2 kB / 1.335 GB, free: 9.492 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 1.663e-06/0.349, allocations: 0 / 1.335 GB, free: 9.492 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.0009404/0.3499, allocations: 483.1 kB / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.35, allocations: 63.39 kB / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005909/0.3506, allocations: 473.5 kB / 1.336 GB, free: 8.473 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.732e-05/0.3506, allocations: 37.7 kB / 1.336 GB, free: 8.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.3508, allocations: 180.9 kB / 1.336 GB, free: 8.246 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.202e-05/0.3509, allocations: 59.64 kB / 1.336 GB, free: 8.188 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.3511, allocations: 113.5 kB / 1.336 GB, free: 8.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.3513, allocations: 346.8 kB / 1.336 GB, free: 7.723 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.3515, allocations: 103.9 kB / 1.337 GB, free: 7.621 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005445/0.352, allocations: 420.6 kB / 1.337 GB, free: 7.121 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/0.3523, allocations: 231.2 kB / 1.337 GB, free: 6.875 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.3523, allocations: 7.984 kB / 1.337 GB, free: 6.867 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005123/0.3528, allocations: 311.1 kB / 1.338 GB, free: 6.559 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.3529, allocations: 7.984 kB / 1.338 GB, free: 6.551 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3529, allocations: 4 kB / 1.338 GB, free: 6.547 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3529, allocations: 8.188 kB / 1.338 GB, free: 6.539 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.353, allocations: 31.92 kB / 1.338 GB, free: 6.508 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.3531, allocations: 4 kB / 1.338 GB, free: 6.504 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007501/0.3538, allocations: 59.83 kB / 1.338 GB, free: 6.445 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.3538, allocations: 8 kB / 1.338 GB, free: 6.438 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.0002713/0.3541, allocations: 238.1 kB / 1.338 GB, free: 6.195 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.284e-05/0.3541, allocations: 35.77 kB / 1.338 GB, free: 6.16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005834/0.3547, allocations: 383.1 kB / 1.338 GB, free: 5.785 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3547, allocations: 4 kB / 1.338 GB, free: 5.781 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3547, allocations: 0 / 1.338 GB, free: 5.781 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3547, allocations: 0 / 1.338 GB, free: 5.781 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004299/0.3552, allocations: 364.3 kB / 1.339 GB, free: 5.383 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3552, allocations: 0 / 1.339 GB, free: 5.383 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.898e-05/0.3553, allocations: 19.98 kB / 1.339 GB, free: 5.363 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3553, allocations: 0 / 1.339 GB, free: 5.363 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.3553, allocations: 8 kB / 1.339 GB, free: 5.355 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3553, allocations: 4 kB / 1.339 GB, free: 5.352 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3553, allocations: 0 / 1.339 GB, free: 5.352 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005433/0.3558, allocations: 396.6 kB / 1.339 GB, free: 4.945 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.433e-05/0.3559, allocations: 39.75 kB / 1.339 GB, free: 4.906 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.137e-05/0.356, allocations: 7.984 kB / 1.339 GB, free: 4.898 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.3561, allocations: 4 kB / 1.339 GB, free: 4.895 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/0.3561, allocations: 19.97 kB / 1.339 GB, free: 4.875 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.3562, allocations: 19.94 kB / 1.339 GB, free: 4.855 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004493/0.3566, allocations: 339.1 kB / 1.339 GB, free: 4.523 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3566, allocations: 0 / 1.339 GB, free: 4.523 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003566/0.357, allocations: 79.83 kB / 1.34 GB, free: 4.445 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.0009729/0.3579, allocations: 0.95 MB / 1.34 GB, free: 3.465 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000483/0.3584, allocations: 261.8 kB / 1.341 GB, free: 3.211 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3584, allocations: 0 / 1.341 GB, free: 3.211 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.3586, allocations: 139.8 kB / 1.341 GB, free: 3.074 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.3589, allocations: 27.47 kB / 1.341 GB, free: 3.051 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004995/0.3639, allocations: 3.685 MB / 1.344 GB, free: 15.25 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004852/0.3644, allocations: 0.8224 MB / 1.345 GB, free: 14.4 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002174/0.3646, allocations: 82.23 kB / 1.345 GB, free: 14.32 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.3648, allocations: 99.41 kB / 1.345 GB, free: 14.22 MB / 1.045 GB Notification: Performance of SimCode: time 6.21e-07/0.3648, allocations: 0 / 1.345 GB, free: 14.22 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03288/0.3977, allocations: 8.504 MB / 1.354 GB, free: 5.945 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.42, allocations: 8.594 kB / 1.354 GB, free: 5.941 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.09426873200573] Failed to read output from testmodel.py, exit status != 0: 12.590627743978985 12.615644433 12.268662609 Calling exit ...