Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.001675/0.001675, allocations: 116.8 kB / 17.17 MB, free: 6 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.001961/0.001961, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.605/1.605, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 3.213/3.213, allocations: 0.5003 GB / 0.8026 GB, free: 6.758 MB / 0.6387 GB " [Timeout remaining time 176] 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.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",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.002107/0.002107, allocations: 67.88 kB / 1.165 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9623/0.9644, allocations: 178.9 MB / 1.34 GB, free: 16.26 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004276/0.9687, allocations: 2.508 MB / 1.343 GB, free: 14.5 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002605/0.9713, allocations: 1.739 MB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.9715, allocations: 6.688 kB / 1.344 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008784/0.9724, allocations: 319 kB / 1.345 GB, free: 13.19 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006095/0.973, allocations: 276.6 kB / 1.345 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005731/0.9736, allocations: 194.7 kB / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005254/0.9741, allocations: 411.5 kB / 1.345 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.9743, allocations: 53.31 kB / 1.345 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.9745, allocations: 176.8 kB / 1.346 GB, free: 12.65 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.9747, allocations: 179.9 kB / 1.346 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.582e-05/0.9748, allocations: 19.91 kB / 1.346 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.9749, allocations: 82.77 kB / 1.346 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.9751, allocations: 134.9 kB / 1.346 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.9752, allocations: 190.9 kB / 1.346 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006359/0.9759, allocations: 0.517 MB / 1.347 GB, free: 12.13 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.9759, allocations: 1.312 kB / 1.347 GB, free: 12.13 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.212e-06/0.9759, allocations: 0 / 1.347 GB, free: 12.13 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.9759, allocations: 0 / 1.347 GB, free: 12.13 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001123/0.977, allocations: 0.8677 MB / 1.348 GB, free: 11.41 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.977, allocations: 9.656 kB / 1.348 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.384e-05/0.977, allocations: 2.844 kB / 1.348 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.016e-05/0.9771, allocations: 46.17 kB / 1.348 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.341e-05/0.9772, allocations: 63.86 kB / 1.348 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005119/0.9777, allocations: 454.1 kB / 1.348 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.9777, allocations: 12.97 kB / 1.348 GB, free: 10.97 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.9777, allocations: 8.062 kB / 1.348 GB, free: 10.97 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003249/0.978, allocations: 136.7 kB / 1.348 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.9781, allocations: 0 / 1.348 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.9781, allocations: 10 kB / 1.348 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.9781, allocations: 2.219 kB / 1.348 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.9783, allocations: 65.64 kB / 1.348 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008274/0.9791, allocations: 0.5816 MB / 1.349 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/0.9794, allocations: 121 kB / 1.349 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.9795, allocations: 46.08 kB / 1.349 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.9795, allocations: 6.484 kB / 1.349 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002263/0.9798, allocations: 109.1 kB / 1.349 GB, free: 10.31 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.9798, allocations: 0 / 1.349 GB, free: 10.31 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0005127/0.9803, allocations: 237.4 kB / 1.349 GB, free: 10.2 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.9803, allocations: 82.83 kB / 1.35 GB, free: 10.1 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008311/0.9811, allocations: 0.7133 MB / 1.35 GB, free: 9.809 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.9812, allocations: 28.64 kB / 1.35 GB, free: 9.777 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.9813, allocations: 274.6 kB / 1.351 GB, free: 9.555 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.9814, allocations: 34.09 kB / 1.351 GB, free: 9.531 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.495e-05/0.9814, allocations: 54.38 kB / 1.351 GB, free: 9.5 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.9815, allocations: 374 kB / 1.351 GB, free: 9.16 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.9817, allocations: 72.42 kB / 1.351 GB, free: 9.137 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.9819, allocations: 128.6 kB / 1.351 GB, free: 9.055 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002457/0.9821, allocations: 136.6 kB / 1.351 GB, free: 8.984 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.9821, allocations: 1.031 kB / 1.351 GB, free: 8.984 MB / 1.061 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000451/0.9826, allocations: 279 kB / 1.352 GB, free: 8.852 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.9826, allocations: 5.125 kB / 1.352 GB, free: 8.852 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.9826, allocations: 1.094 kB / 1.352 GB, free: 8.852 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.9826, allocations: 2.094 kB / 1.352 GB, free: 8.852 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.9828, allocations: 35.67 kB / 1.352 GB, free: 8.848 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.9828, allocations: 2.219 kB / 1.352 GB, free: 8.848 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.983, allocations: 26.16 kB / 1.352 GB, free: 8.836 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.983, allocations: 5.969 kB / 1.352 GB, free: 8.836 MB / 1.061 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.0002011/0.9832, allocations: 227.2 kB / 1.352 GB, free: 8.668 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.894e-05/0.9833, allocations: 62.16 kB / 1.352 GB, free: 8.633 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.714e-05/0.9834, allocations: 59.75 kB / 1.352 GB, free: 8.605 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.9834, allocations: 5.219 kB / 1.352 GB, free: 8.602 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.9834, allocations: 1.156 kB / 1.352 GB, free: 8.602 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.9834, allocations: 0.7031 kB / 1.352 GB, free: 8.602 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003783/0.9838, allocations: 378 kB / 1.352 GB, free: 8.336 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.9838, allocations: 0 / 1.352 GB, free: 8.336 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.932e-05/0.9838, allocations: 9.125 kB / 1.352 GB, free: 8.336 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.9838, allocations: 0 / 1.352 GB, free: 8.336 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.9838, allocations: 11.62 kB / 1.352 GB, free: 8.328 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.9838, allocations: 1.656 kB / 1.352 GB, free: 8.328 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.9838, allocations: 0 / 1.352 GB, free: 8.328 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003541/0.9842, allocations: 223.5 kB / 1.353 GB, free: 8.195 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.148e-05/0.9843, allocations: 134.9 kB / 1.353 GB, free: 8.062 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.559e-05/0.9843, allocations: 7.078 kB / 1.353 GB, free: 8.059 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.9844, allocations: 10.16 kB / 1.353 GB, free: 8.059 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.985e-05/0.9845, allocations: 21.22 kB / 1.353 GB, free: 8.051 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.9845, allocations: 6.75 kB / 1.353 GB, free: 8.051 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005367/0.9851, allocations: 479.7 kB / 1.353 GB, free: 7.855 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9851, allocations: 1.188 kB / 1.353 GB, free: 7.855 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003334/0.9854, allocations: 70.09 kB / 1.353 GB, free: 7.84 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: 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 (runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent) * 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.001978/0.9874, allocations: 1.096 MB / 1.354 GB, free: 7.055 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004019/0.9878, allocations: 147 kB / 1.354 GB, free: 7.012 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.9878, allocations: 0 / 1.354 GB, free: 7.012 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.9879, allocations: 52.83 kB / 1.355 GB, free: 6.996 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000532/0.9884, allocations: 96.53 kB / 1.355 GB, free: 6.961 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004734/0.9932, allocations: 3.97 MB / 1.358 GB, free: 4.824 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.9935, allocations: 0.8687 MB / 1.359 GB, free: 4.105 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001934/0.9937, allocations: 52.42 kB / 1.359 GB, free: 4.094 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/0.9939, allocations: 172.4 kB / 1.36 GB, free: 3.961 MB / 1.061 GB Notification: Performance of SimCode: time 4.4e-07/0.9939, allocations: 4 kB / 1.36 GB, free: 3.957 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03374/1.028, allocations: 10.06 MB / 1.369 GB, free: 2.406 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.184/10.21, allocations: 10.22 kB / 1.369 GB, free: 2.398 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 17.141599071968812] Failed to read output from testmodel.py, exit status != 0: 10.404747234017123 10.429399482 9.448625654 Calling exit ...