Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 193.3 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.752/1.752, allocations: 292.2 MB / 0.5484 GB, free: 13.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 66.55 kB / 0.6708 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2282, allocations: 114.6 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004048/0.2323, allocations: 2.51 MB / 0.7851 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002152/0.2345, allocations: 1.469 MB / 0.7866 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.2346, allocations: 4 kB / 0.7866 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009042/0.2355, allocations: 307.4 kB / 0.7869 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003551/0.2359, allocations: 199.3 kB / 0.787 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005225/0.2364, allocations: 210.8 kB / 0.7873 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003531/0.2368, allocations: 378.8 kB / 0.7876 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.237, allocations: 72.86 kB / 0.7877 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.2372, allocations: 143.2 kB / 0.7878 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.2374, allocations: 163.2 kB / 0.788 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.916e-05/0.2374, allocations: 12 kB / 0.788 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.2376, allocations: 67.89 kB / 0.788 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.2377, allocations: 119.5 kB / 0.7882 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.2379, allocations: 182.6 kB / 0.7883 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004286/0.2383, allocations: 478.2 kB / 0.7888 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2383, allocations: 0 / 0.7888 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2383, allocations: 0 / 0.7888 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.2383, allocations: 0 / 0.7888 GB, free: 7.699 MB / 0.6075 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.001172/0.2395, allocations: 0.8413 MB / 0.7896 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.2396, allocations: 8.031 kB / 0.7896 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.2397, allocations: 64.17 kB / 0.7897 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.2402, allocations: 421 kB / 0.7901 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/0.2402, allocations: 19.88 kB / 0.7901 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.2403, allocations: 8 kB / 0.7901 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.2405, allocations: 141 kB / 0.7902 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.2406, allocations: 4 kB / 0.7903 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.2406, allocations: 7.938 kB / 0.7903 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.2406, allocations: 7.938 kB / 0.7903 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.2408, allocations: 67.95 kB / 0.7903 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008406/0.2416, allocations: 0.5783 MB / 0.7909 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003192/0.242, allocations: 122.7 kB / 0.791 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.2421, allocations: 52.83 kB / 0.7911 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.2421, allocations: 0 / 0.7911 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002526/0.2424, allocations: 123 kB / 0.7912 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.2424, allocations: 0 / 0.7912 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0005267/0.2429, allocations: 232.9 kB / 0.7914 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.243, allocations: 77.11 kB / 0.7915 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007862/0.2438, allocations: 0.6837 MB / 0.7921 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.2438, allocations: 33.69 kB / 0.7922 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.2441, allocations: 264.4 kB / 0.7924 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.308e-05/0.2442, allocations: 39.53 kB / 0.7925 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.2443, allocations: 57.69 kB / 0.7925 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002176/0.2445, allocations: 366.8 kB / 0.7929 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.2447, allocations: 71.97 kB / 0.7929 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.2449, allocations: 129 kB / 0.7931 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.2451, allocations: 131.4 kB / 0.7932 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.2451, allocations: 3.938 kB / 0.7932 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004623/0.2456, allocations: 275.6 kB / 0.7935 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.2456, allocations: 8 kB / 0.7935 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2457, allocations: 3.938 kB / 0.7935 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2457, allocations: 8 kB / 0.7935 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.2459, allocations: 39.92 kB / 0.7935 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.2459, allocations: 0 / 0.7935 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.246, allocations: 19.89 kB / 0.7935 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.2461, allocations: 8 kB / 0.7935 GB, free: 2.578 MB / 0.6075 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.000209/0.2463, allocations: 211.5 kB / 0.7937 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.845e-05/0.2464, allocations: 59.28 kB / 0.7938 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.811e-05/0.2464, allocations: 61.05 kB / 0.7939 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.2465, allocations: 3.984 kB / 0.7939 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2465, allocations: 0 / 0.7939 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2465, allocations: 0 / 0.7939 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003247/0.2468, allocations: 369.3 kB / 0.7942 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2468, allocations: 11.94 kB / 0.7942 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-05/0.2469, allocations: 4 kB / 0.7942 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2469, allocations: 0 / 0.7942 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.2469, allocations: 7.984 kB / 0.7942 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2469, allocations: 0 / 0.7942 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2469, allocations: 0 / 0.7942 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.2472, allocations: 224.4 kB / 0.7944 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.2474, allocations: 136.3 kB / 0.7946 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.982e-05/0.2474, allocations: 0 / 0.7946 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.2475, allocations: 15.98 kB / 0.7946 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.777e-05/0.2476, allocations: 15.97 kB / 0.7946 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.2476, allocations: 8 kB / 0.7946 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004789/0.2481, allocations: 471 kB / 0.7951 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2481, allocations: 0 / 0.7951 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002947/0.2484, allocations: 67.94 kB / 0.7951 GB, free: 0.8477 MB / 0.6075 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.001009/0.2494, allocations: 436.4 kB / 0.7955 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003704/0.2498, allocations: 152.3 kB / 0.7957 GB, free: 432 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2498, allocations: 0 / 0.7957 GB, free: 432 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.25, allocations: 60.59 kB / 0.7957 GB, free: 372 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/0.2505, allocations: 86.86 kB / 0.7958 GB, free: 288 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.2518, allocations: 0.9477 MB / 0.7968 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.2523, allocations: 0.8613 MB / 0.7976 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001392/0.2524, allocations: 46.94 kB / 0.7976 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.017e-05/0.2525, allocations: 35.36 kB / 0.7977 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of SimCode: time 4.71e-07/0.2525, allocations: 0 / 0.7977 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of Templates: time 0.008435/0.261, allocations: 4.117 MB / 0.8017 GB, free: 10.26 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)