Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001933/0.001933, allocations: 111.3 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002285/0.002285, allocations: 186.7 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 225.6 MB / 249.4 MB, free: 3.328 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.886/2.886, allocations: 476.7 MB / 0.7629 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 71.88 kB / 1.107 GB, free: 5.059 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044/1.046, allocations: 168.7 MB / 1.272 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004538/1.05, allocations: 2.493 MB / 1.274 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002579/1.053, allocations: 1.606 MB / 1.276 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002684/1.053, allocations: 2.906 kB / 1.276 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001122/1.054, allocations: 325.6 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005315/1.055, allocations: 221.7 kB / 1.276 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007602/1.056, allocations: 264.5 kB / 1.276 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000507/1.056, allocations: 383.1 kB / 1.277 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/1.056, allocations: 44.7 kB / 1.277 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/1.057, allocations: 169.2 kB / 1.277 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/1.057, allocations: 173.5 kB / 1.277 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.752e-05/1.057, allocations: 19.22 kB / 1.277 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/1.057, allocations: 80.25 kB / 1.277 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001478/1.057, allocations: 130.9 kB / 1.277 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001502/1.057, allocations: 198.1 kB / 1.277 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000571/1.058, allocations: 0.4904 MB / 1.278 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.058, allocations: 3.938 kB / 1.278 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.633e-06/1.058, allocations: 0 / 1.278 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.684e-06/1.058, allocations: 4.938 kB / 1.278 GB, free: 3.727 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.00108/1.059, allocations: 0.8487 MB / 1.279 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/1.059, allocations: 8.844 kB / 1.279 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.313e-05/1.059, allocations: 47.27 kB / 1.279 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.946e-05/1.059, allocations: 59.53 kB / 1.279 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004641/1.06, allocations: 441.6 kB / 1.279 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/1.06, allocations: 9.25 kB / 1.279 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/1.06, allocations: 15.72 kB / 1.279 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/1.06, allocations: 139 kB / 1.279 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/1.06, allocations: 0 / 1.279 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/1.06, allocations: 2 kB / 1.279 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/1.06, allocations: 5.75 kB / 1.279 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/1.06, allocations: 73.38 kB / 1.28 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008894/1.061, allocations: 0.5777 MB / 1.28 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003327/1.061, allocations: 118.1 kB / 1.28 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/1.062, allocations: 46.44 kB / 1.28 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/1.062, allocations: 5.719 kB / 1.28 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002497/1.062, allocations: 116.4 kB / 1.28 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.694e-06/1.062, allocations: 0 / 1.28 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0005858/1.062, allocations: 238.1 kB / 1.281 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/1.063, allocations: 79.25 kB / 1.281 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008626/1.063, allocations: 0.6926 MB / 1.281 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/1.063, allocations: 33.78 kB / 1.281 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/1.064, allocations: 265.3 kB / 1.282 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/1.064, allocations: 33.98 kB / 1.282 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.24e-05/1.064, allocations: 61.38 kB / 1.282 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001074/1.064, allocations: 369 kB / 1.282 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/1.064, allocations: 76.86 kB / 1.282 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/1.064, allocations: 124.4 kB / 1.282 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/1.064, allocations: 133 kB / 1.282 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/1.064, allocations: 0 / 1.282 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004184/1.065, allocations: 269.9 kB / 1.283 GB, free: 496 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/1.065, allocations: 13.42 kB / 1.283 GB, free: 488 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/1.065, allocations: 3.156 kB / 1.283 GB, free: 488 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/1.065, allocations: 0 / 1.283 GB, free: 488 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/1.065, allocations: 39.88 kB / 1.283 GB, free: 480 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/1.065, allocations: 2.094 kB / 1.283 GB, free: 480 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/1.065, allocations: 18.81 kB / 1.283 GB, free: 476 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/1.065, allocations: 11.42 kB / 1.283 GB, free: 472 kB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,assWatMas.hys.y,$PRE.assWatMas.hys.y,assWatMas.assMes.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002099/1.065, allocations: 216.6 kB / 1.283 GB, free: 308 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.364e-05/1.065, allocations: 64 kB / 1.283 GB, free: 272 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00038/1.066, allocations: 199.9 kB / 1.283 GB, free: 172 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/1.066, allocations: 1.688 kB / 1.283 GB, free: 172 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/1.066, allocations: 3.938 kB / 1.283 GB, free: 168 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/1.066, allocations: 3.906 kB / 1.283 GB, free: 168 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004038/1.066, allocations: 374.4 kB / 1.284 GB, free: 15.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/1.066, allocations: 4.641 kB / 1.284 GB, free: 15.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.726e-05/1.066, allocations: 6.016 kB / 1.284 GB, free: 15.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/1.066, allocations: 4.656 kB / 1.284 GB, free: 15.89 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/1.066, allocations: 6.875 kB / 1.284 GB, free: 15.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/1.066, allocations: 1.594 kB / 1.284 GB, free: 15.89 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/1.066, allocations: 0.5625 kB / 1.284 GB, free: 15.89 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/1.067, allocations: 226.5 kB / 1.284 GB, free: 15.75 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/1.067, allocations: 134.7 kB / 1.284 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.296e-05/1.067, allocations: 2.359 kB / 1.284 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/1.067, allocations: 17.8 kB / 1.284 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.629e-05/1.067, allocations: 18.56 kB / 1.284 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/1.067, allocations: 5.656 kB / 1.284 GB, free: 15.61 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005636/1.068, allocations: 470.8 kB / 1.284 GB, free: 15.42 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.068, allocations: 0 / 1.284 GB, free: 15.42 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000335/1.068, allocations: 63.55 kB / 1.284 GB, free: 15.41 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002152/1.07, allocations: 1.1 MB / 1.286 GB, free: 14.62 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003907/1.071, allocations: 144.4 kB / 1.286 GB, free: 14.59 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.071, allocations: 0 / 1.286 GB, free: 14.59 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/1.071, allocations: 46.94 kB / 1.286 GB, free: 14.57 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005155/1.071, allocations: 98.33 kB / 1.286 GB, free: 14.54 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005369/1.077, allocations: 3.914 MB / 1.29 GB, free: 12.42 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005206/1.077, allocations: 0.8637 MB / 1.29 GB, free: 11.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002018/1.077, allocations: 45.89 kB / 1.291 GB, free: 11.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/1.078, allocations: 168.2 kB / 1.291 GB, free: 11.57 MB / 1.014 GB Notification: Performance of SimCode: time 1.152e-06/1.078, allocations: 4 kB / 1.291 GB, free: 11.56 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03976/1.117, allocations: 9.86 MB / 1.3 GB, free: 10 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.647/9.764, allocations: 6.641 kB / 1.3 GB, free: 10 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.csv --start-time 0 --stop-time 900 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.36 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.121471624996047] Failed to read output from testmodel.py, exit status != 0: 9.893497473996831 9.90897171 8.847643381 Calling exit ...