Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.001816/0.001816, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002055/0.002055, allocations: 221.2 kB / 23.03 MB, free: 4.945 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.538/1.538, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.882/2.882, allocations: 476.8 MB / 0.7715 GB, free: 3.914 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",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.00209/0.00209, allocations: 65.95 kB / 1.118 GB, free: 39.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3348, allocations: 170 MB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004411/0.3392, allocations: 2.146 MB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002613/0.3418, allocations: 1.435 MB / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001959/0.342, allocations: 0 / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007034/0.3427, allocations: 175.2 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005525/0.3433, allocations: 179.1 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.3436, allocations: 111.7 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003848/0.344, allocations: 243.1 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.3442, allocations: 32.56 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.3443, allocations: 103.5 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.3445, allocations: 111.5 kB / 1.289 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.3446, allocations: 12 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.3447, allocations: 51.98 kB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.3449, allocations: 99.59 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.345, allocations: 95.17 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005137/0.3455, allocations: 379.3 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3455, allocations: 0 / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3455, allocations: 4 kB / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.498e-05/0.3455, allocations: 0 / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001086/0.3466, allocations: 0.6281 MB / 1.29 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.3466, allocations: 8.031 kB / 1.29 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.831e-05/0.3467, allocations: 8.172 kB / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.813e-05/0.3467, allocations: 34.75 kB / 1.29 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.893e-05/0.3468, allocations: 44.66 kB / 1.29 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004764/0.3473, allocations: 298.9 kB / 1.29 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.3473, allocations: 7.938 kB / 1.29 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.3473, allocations: 11.98 kB / 1.29 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.3475, allocations: 103.3 kB / 1.29 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3475, allocations: 4 kB / 1.29 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.3475, allocations: 4 kB / 1.29 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.3475, allocations: 0 / 1.29 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.3477, allocations: 35.98 kB / 1.29 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007533/0.3484, allocations: 419.7 kB / 1.291 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.3486, allocations: 66.67 kB / 1.291 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.471e-05/0.3487, allocations: 24.78 kB / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.3487, allocations: 4 kB / 1.291 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.3489, allocations: 101.1 kB / 1.291 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.3489, allocations: 0 / 1.291 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0003924/0.3493, allocations: 157.3 kB / 1.291 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.3493, allocations: 55.34 kB / 1.291 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007301/0.3501, allocations: 0.5496 MB / 1.292 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.3501, allocations: 29.7 kB / 1.292 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.3503, allocations: 216 kB / 1.292 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.3504, allocations: 19.89 kB / 1.292 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.538e-05/0.3505, allocations: 45.66 kB / 1.292 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002221/0.3507, allocations: 358.8 kB / 1.292 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.3508, allocations: 59.88 kB / 1.292 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.351, allocations: 106.6 kB / 1.292 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.3512, allocations: 85.64 kB / 1.292 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.82e-06/0.3512, allocations: 4.109 kB / 1.292 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003873/0.3516, allocations: 203.4 kB / 1.293 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.3516, allocations: 8 kB / 1.293 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3516, allocations: 0 / 1.293 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.3516, allocations: 3.938 kB / 1.293 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.3517, allocations: 27.98 kB / 1.293 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3517, allocations: 4 kB / 1.293 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.3519, allocations: 23.88 kB / 1.293 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.3519, allocations: 7.938 kB / 1.293 GB, free: 1.617 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0002141/0.3521, allocations: 181.8 kB / 1.293 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.489e-05/0.3522, allocations: 47.7 kB / 1.293 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003169/0.3525, allocations: 141.5 kB / 1.293 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.3525, allocations: 0 / 1.293 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3525, allocations: 0 / 1.293 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3525, allocations: 4 kB / 1.293 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002971/0.3528, allocations: 260.6 kB / 1.293 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3528, allocations: 0 / 1.293 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.264e-05/0.3529, allocations: 4.25 kB / 1.293 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3529, allocations: 0 / 1.293 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.3529, allocations: 11.94 kB / 1.293 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3529, allocations: 0 / 1.293 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3529, allocations: 0 / 1.293 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003694/0.3532, allocations: 168.7 kB / 1.294 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.461e-05/0.3533, allocations: 39.72 kB / 1.294 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.703e-05/0.3534, allocations: 7.938 kB / 1.294 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.344e-05/0.3535, allocations: 15.98 kB / 1.294 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.216e-05/0.3535, allocations: 7.984 kB / 1.294 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.3535, allocations: 4 kB / 1.294 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004992/0.354, allocations: 374.8 kB / 1.294 GB, free: 304 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.354, allocations: 0 / 1.294 GB, free: 304 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002865/0.3543, allocations: 43.94 kB / 1.294 GB, free: 260 kB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002348/0.3567, allocations: 1.04 MB / 1.295 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002841/0.357, allocations: 103.8 kB / 1.295 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.357, allocations: 0 / 1.295 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.023e-05/0.357, allocations: 31.92 kB / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.3575, allocations: 69.83 kB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004039/0.3615, allocations: 3.122 MB / 1.298 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.3617, allocations: 212.4 kB / 1.298 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.377e-05/0.3618, allocations: 29.45 kB / 1.298 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.362, allocations: 119.4 kB / 1.299 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/0.362, allocations: 0 / 1.299 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03341/0.3954, allocations: 7.83 MB / 1.306 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.25, allocations: 9.828 kB / 1.306 GB, free: 3.887 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.33250424207654] Failed to read output from testmodel.py, exit status != 0: 13.036530876997858 12.499294352 12.149117107 Calling exit ...