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.001143/0.001143, allocations: 109.7 kB / 16.38 MB, free: 6.008 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.001675/0.001675, allocations: 190.8 kB / 17.31 MB, free: 5.621 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.629/1.629, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.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.835/1.835, allocations: 292.3 MB / 0.5496 GB, free: 17.7 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.001459/0.001459, allocations: 68.12 kB / 0.6729 GB, free: 5.895 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2632, allocations: 114.6 MB / 0.7848 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004748/0.268, allocations: 2.466 MB / 0.7872 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4629/0.7309, allocations: 1.474 MB / 0.7886 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003444/0.7313, allocations: 4.688 kB / 0.7887 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.7328, allocations: 317.2 kB / 0.789 GB, free: 46.45 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.000601/0.7334, allocations: 223.7 kB / 0.7892 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006531/0.7341, allocations: 238.8 kB / 0.7894 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004426/0.7345, allocations: 388.4 kB / 0.7898 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.7347, allocations: 69.3 kB / 0.7898 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002044/0.7349, allocations: 161.9 kB / 0.79 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.7351, allocations: 163.9 kB / 0.7901 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.286e-05/0.7352, allocations: 18.94 kB / 0.7902 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.7354, allocations: 80.94 kB / 0.7902 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.7355, allocations: 129.7 kB / 0.7904 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.7357, allocations: 192.7 kB / 0.7905 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004887/0.7362, allocations: 0.4929 MB / 0.791 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.7362, allocations: 5.312 kB / 0.791 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.894e-06/0.7362, allocations: 0 / 0.791 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.7362, allocations: 0 / 0.791 GB, free: 46.16 MB / 0.6544 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.001031/0.7373, allocations: 0.8317 MB / 0.7918 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.7373, allocations: 10.78 kB / 0.7919 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.219e-05/0.7374, allocations: 64.58 kB / 0.7919 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004775/0.7379, allocations: 432.2 kB / 0.7923 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.7379, allocations: 16.73 kB / 0.7923 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.738, allocations: 11.12 kB / 0.7924 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.7382, allocations: 141.4 kB / 0.7925 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.7382, allocations: 0 / 0.7925 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.7383, allocations: 6.062 kB / 0.7925 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.7383, allocations: 6.562 kB / 0.7925 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.7384, allocations: 64.44 kB / 0.7926 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007548/0.7392, allocations: 0.5674 MB / 0.7931 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.7395, allocations: 130.6 kB / 0.7932 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.257e-05/0.7396, allocations: 43.78 kB / 0.7933 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.667e-05/0.7397, allocations: 7.844 kB / 0.7933 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/0.7399, allocations: 111.3 kB / 0.7934 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 2.544e-06/0.7399, allocations: 1.531 kB / 0.7934 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0004682/0.7404, allocations: 238.2 kB / 0.7936 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.7404, allocations: 80.23 kB / 0.7937 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006016/0.741, allocations: 0.6859 MB / 0.7944 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.7411, allocations: 32.77 kB / 0.7944 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.7412, allocations: 259.7 kB / 0.7947 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.7413, allocations: 40.78 kB / 0.7947 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-05/0.7414, allocations: 59.86 kB / 0.7947 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.005e-05/0.7415, allocations: 370.5 kB / 0.7951 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.7416, allocations: 73.55 kB / 0.7952 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.7417, allocations: 117.3 kB / 0.7953 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.742, allocations: 139.4 kB / 0.7954 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.742, allocations: 3.219 kB / 0.7954 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003624/0.7423, allocations: 267.7 kB / 0.7957 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.7424, allocations: 3.281 kB / 0.7957 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.7424, allocations: 4.344 kB / 0.7957 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.7424, allocations: 0 / 0.7957 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.7426, allocations: 35.45 kB / 0.7957 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.7426, allocations: 5.469 kB / 0.7957 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.7427, allocations: 24.84 kB / 0.7957 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.7428, allocations: 13.62 kB / 0.7958 GB, free: 43.89 MB / 0.6544 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.0001719/0.7429, allocations: 204.9 kB / 0.796 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.728e-05/0.743, allocations: 69.39 kB / 0.796 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.082e-05/0.7431, allocations: 60.11 kB / 0.7961 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.7431, allocations: 4.672 kB / 0.7961 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.7431, allocations: 0 / 0.7961 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.547e-05/0.7432, allocations: 125.9 kB / 0.7962 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.107e-05/0.7432, allocations: 9.812 kB / 0.7962 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.7434, allocations: 13.44 kB / 0.7962 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/0.7434, allocations: 19.88 kB / 0.7962 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003166/0.7438, allocations: 233.4 kB / 0.7965 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003194/0.7441, allocations: 374.2 kB / 0.7968 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001044/0.7442, allocations: 50.36 kB / 0.7969 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000421/0.7446, allocations: 468.3 kB / 0.7973 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of Backend: time 7.51e-07/0.7446, allocations: 1.844 kB / 0.7973 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001495/0.7461, allocations: 0.5212 MB / 0.7978 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001265/0.7474, allocations: 1.324 MB / 0.7991 GB, free: 42.24 MB / 0.6544 GB Notification: Performance of Templates: time 0.01044/0.7579, allocations: 4.415 MB / 0.8034 GB, free: 42 MB / 0.6544 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)