Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0008336/0.0008336, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001107/0.001941, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001494/0.001494, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001448/0.002942, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.026/1.026, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08928/1.115, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.904/1.904, allocations: 389.9 MB / 0.619 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4708/2.374, allocations: 127.1 MB / 0.7432 GB, free: 4.582 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.7445 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.916e-05/2.082e-05, allocations: 7.594 kB / 0.7445 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004097/0.004117, allocations: 2.557 MB / 0.747 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002746/0.006863, allocations: 1.72 MB / 0.7487 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002485/0.007112, allocations: 8.656 kB / 0.7487 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.008227, allocations: 308.3 kB / 0.749 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0007507/0.008977, allocations: 285.5 kB / 0.7492 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.009446, allocations: 211.3 kB / 0.7494 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003783/0.009824, allocations: 406.6 kB / 0.7498 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.009958, allocations: 46.88 kB / 0.7499 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006871/0.01065, allocations: 367.9 kB / 0.7502 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.01082, allocations: 143.5 kB / 0.7504 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.099e-05/0.01085, allocations: 16 kB / 0.7504 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.01103, allocations: 83.94 kB / 0.7505 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.01114, allocations: 115.6 kB / 0.7506 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.225e-05/0.01122, allocations: 88.42 kB / 0.7507 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004126/0.01163, allocations: 330.5 kB / 0.751 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.651e-05/0.01165, allocations: 4 kB / 0.751 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.372e-06/0.01165, allocations: 2.906 kB / 0.751 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.727e-05/0.01167, allocations: 0 / 0.751 GB, free: 12.7 MB / 0.7292 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.0008276/0.01249, allocations: 0.8264 MB / 0.7518 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.01253, allocations: 8.031 kB / 0.7518 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.991e-05/0.0126, allocations: 44.89 kB / 0.7518 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.01294, allocations: 349.9 kB / 0.7522 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.01296, allocations: 8.562 kB / 0.7522 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.01298, allocations: 16.36 kB / 0.7522 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.01313, allocations: 114.3 kB / 0.7523 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.01314, allocations: 0 / 0.7523 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.01315, allocations: 11.98 kB / 0.7523 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.01316, allocations: 0 / 0.7523 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.896e-05/0.0132, allocations: 29.98 kB / 0.7523 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004097/0.01361, allocations: 301.7 kB / 0.7526 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.01375, allocations: 113.3 kB / 0.7527 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.051e-05/0.01378, allocations: 21.66 kB / 0.7528 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.01379, allocations: 0.5 kB / 0.7528 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/0.01394, allocations: 120.6 kB / 0.7529 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 2.164e-06/0.01394, allocations: 0 / 0.7529 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0001814/0.01412, allocations: 122.2 kB / 0.753 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.01416, allocations: 55.94 kB / 0.753 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004084/0.01456, allocations: 0.5525 MB / 0.7536 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.01459, allocations: 34.64 kB / 0.7536 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.456e-05/0.01467, allocations: 182.3 kB / 0.7538 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.01471, allocations: 36.31 kB / 0.7538 GB, free: 9.625 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.049e-05/0.01477, allocations: 57.58 kB / 0.7539 GB, free: 9.562 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.01488, allocations: 383.4 kB / 0.7542 GB, free: 9.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.837e-05/0.01492, allocations: 22.81 kB / 0.7543 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.648e-05/0.01499, allocations: 110 kB / 0.7544 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.0151, allocations: 83.39 kB / 0.7545 GB, free: 8.934 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.0151, allocations: 0 / 0.7545 GB, free: 8.934 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001664/0.01527, allocations: 146.9 kB / 0.7546 GB, free: 8.785 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.01528, allocations: 5.719 kB / 0.7546 GB, free: 8.781 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.01529, allocations: 0 / 0.7546 GB, free: 8.781 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.0153, allocations: 4 kB / 0.7546 GB, free: 8.777 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.01542, allocations: 39.92 kB / 0.7546 GB, free: 8.738 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.01543, allocations: 4.812 kB / 0.7546 GB, free: 8.734 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.304e-05/0.0155, allocations: 15.94 kB / 0.7547 GB, free: 8.719 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.01551, allocations: 8.5 kB / 0.7547 GB, free: 8.711 MB / 0.7292 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 9.763e-05/0.01561, allocations: 139.3 kB / 0.7548 GB, free: 8.566 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.01565, allocations: 36.66 kB / 0.7548 GB, free: 8.531 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.01583, allocations: 131.9 kB / 0.755 GB, free: 8.391 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.01583, allocations: 0 / 0.755 GB, free: 8.391 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.01583, allocations: 8 kB / 0.755 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.01584, allocations: 0.875 kB / 0.755 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.01601, allocations: 185.7 kB / 0.7551 GB, free: 8.184 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01601, allocations: 0 / 0.7551 GB, free: 8.184 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.287e-05/0.01605, allocations: 16.55 kB / 0.7552 GB, free: 8.168 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.206e-05/0.01611, allocations: 56.19 kB / 0.7552 GB, free: 8.113 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.01612, allocations: 0 / 0.7552 GB, free: 8.113 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.01613, allocations: 13.73 kB / 0.7552 GB, free: 8.102 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.01613, allocations: 0 / 0.7552 GB, free: 8.102 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.01613, allocations: 0 / 0.7552 GB, free: 8.102 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.01632, allocations: 134.6 kB / 0.7554 GB, free: 7.949 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.483e-05/0.01637, allocations: 8 kB / 0.7554 GB, free: 7.941 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.795e-05/0.01645, allocations: 12.58 kB / 0.7554 GB, free: 7.93 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.0165, allocations: 16.97 kB / 0.7554 GB, free: 7.914 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.01651, allocations: 11.94 kB / 0.7554 GB, free: 7.902 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002591/0.01677, allocations: 275.3 kB / 0.7557 GB, free: 7.633 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.9e-07/0.01677, allocations: 0.5312 kB / 0.7557 GB, free: 7.633 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001999/0.01697, allocations: 80.94 kB / 0.7557 GB, free: 7.555 MB / 0.7292 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 (15): * Single equations (assignments): 11 * 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.001386/0.01836, allocations: 0.5561 MB / 0.7563 GB, free: 7.281 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001688/0.01853, allocations: 78.52 kB / 0.7564 GB, free: 7.203 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/0.01854, allocations: 8 kB / 0.7564 GB, free: 7.195 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.284e-05/0.01859, allocations: 52.62 kB / 0.7564 GB, free: 7.145 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.01887, allocations: 133.1 kB / 0.7565 GB, free: 7.027 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.02044, allocations: 0.7579 MB / 0.7573 GB, free: 6.238 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.646e-05/0.02053, allocations: 136.2 kB / 0.7574 GB, free: 6.086 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.863e-05/0.02063, allocations: 39.8 kB / 0.7575 GB, free: 6.047 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.02078, allocations: 124 kB / 0.7576 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of SimCode: time 1.112e-06/0.02078, allocations: 0 / 0.7576 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of Templates: time 0.008274/0.02905, allocations: 5.072 MB / 0.7625 GB, free: 1.078 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.038484986871481]