Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.27/2.27, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001388/0.001387, allocations: 179.7 kB / 325.8 MB, free: 2.777 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.519/2.519, allocations: 205.4 MB / 0.5767 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009875/0.0009871, allocations: 92.61 kB / 0.6812 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004837/0.0004839, allocations: 11.69 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2212, allocations: 106.3 MB / 0.899 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003488/0.2248, allocations: 2.104 MB / 0.9011 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002637/0.2275, allocations: 1.238 MB / 0.9023 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002917/0.2278, allocations: 4 kB / 0.9023 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.2289, allocations: 295 kB / 0.9026 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006103/0.2295, allocations: 183.3 kB / 0.9028 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007963/0.2303, allocations: 188 kB / 0.9029 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005541/0.2309, allocations: 338.8 kB / 0.9033 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002376/0.2312, allocations: 68.88 kB / 0.9033 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002595/0.2314, allocations: 135.3 kB / 0.9035 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.2317, allocations: 143.3 kB / 0.9036 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.678e-05/0.2317, allocations: 8 kB / 0.9036 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002166/0.232, allocations: 43.97 kB / 0.9037 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.2321, allocations: 107.6 kB / 0.9038 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.2322, allocations: 101.4 kB / 0.9039 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004784/0.2327, allocations: 355.4 kB / 0.9042 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2328, allocations: 4 kB / 0.9042 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2328, allocations: 0 / 0.9042 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.2328, allocations: 0 / 0.9042 GB, free: 60.06 MB / 0.6042 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.001416/0.2342, allocations: 0.7638 MB / 0.9049 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.2343, allocations: 12.03 kB / 0.905 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.2344, allocations: 56.19 kB / 0.905 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007339/0.2352, allocations: 401.3 kB / 0.9054 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/0.2352, allocations: 15.94 kB / 0.9054 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/0.2353, allocations: 11.94 kB / 0.9054 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003991/0.2357, allocations: 139.3 kB / 0.9055 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.2357, allocations: 0 / 0.9055 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.2358, allocations: 4 kB / 0.9056 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.2358, allocations: 7.938 kB / 0.9056 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002447/0.236, allocations: 67.95 kB / 0.9056 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.2371, allocations: 0.5667 MB / 0.9062 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004437/0.2376, allocations: 130.7 kB / 0.9063 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.2378, allocations: 40.84 kB / 0.9063 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.947e-05/0.2379, allocations: 4 kB / 0.9063 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003295/0.2382, allocations: 119.2 kB / 0.9065 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 2.935e-06/0.2382, allocations: 0 / 0.9065 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.000792/0.239, allocations: 239.3 kB / 0.9067 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.2391, allocations: 77.11 kB / 0.9068 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.2401, allocations: 0.672 MB / 0.9074 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.246e-05/0.2402, allocations: 33.7 kB / 0.9074 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.2405, allocations: 268.3 kB / 0.9077 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.139e-05/0.2406, allocations: 39.53 kB / 0.9077 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-05/0.2406, allocations: 8 kB / 0.9077 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.2407, allocations: 366.8 kB / 0.9081 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.241, allocations: 67.97 kB / 0.9082 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.2412, allocations: 117.8 kB / 0.9083 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.2415, allocations: 82.92 kB / 0.9084 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.2415, allocations: 0 / 0.9084 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006776/0.2422, allocations: 272.7 kB / 0.9086 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.2422, allocations: 8 kB / 0.9086 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.2423, allocations: 0 / 0.9086 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.2423, allocations: 0 / 0.9086 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.2426, allocations: 31.98 kB / 0.9087 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.2426, allocations: 3.938 kB / 0.9087 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/0.2429, allocations: 31.95 kB / 0.9087 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.302e-05/0.243, allocations: 4 kB / 0.9087 GB, free: 55.2 MB / 0.6042 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 ($whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mWat_flow.tab.nextTimeEvent,assWatMas.assMes.u,$PRE.assWatMas.hys.y,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003243/0.2434, allocations: 215.5 kB / 0.9089 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.2435, allocations: 55.28 kB / 0.9089 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.2436, allocations: 57.05 kB / 0.909 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.2436, allocations: 4 kB / 0.909 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.2436, allocations: 4 kB / 0.909 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.361e-06/0.2436, allocations: 3.984 kB / 0.909 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004017/0.2441, allocations: 361.4 kB / 0.9094 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2441, allocations: 3.938 kB / 0.9094 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.241e-05/0.2442, allocations: 15.92 kB / 0.9094 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.2442, allocations: 0 / 0.9094 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.2442, allocations: 8 kB / 0.9094 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.2442, allocations: 4 kB / 0.9094 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2442, allocations: 0 / 0.9094 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000529/0.2448, allocations: 216.4 kB / 0.9096 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.2449, allocations: 136.3 kB / 0.9097 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.494e-05/0.245, allocations: 8 kB / 0.9097 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.2453, allocations: 11.98 kB / 0.9097 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.44e-05/0.2454, allocations: 19.97 kB / 0.9098 GB, free: 54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.2454, allocations: 7.938 kB / 0.9098 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007222/0.2461, allocations: 463 kB / 0.9102 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2462, allocations: 4 kB / 0.9102 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000495/0.2467, allocations: 63.83 kB / 0.9103 GB, free: 53.48 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00128/0.248, allocations: 420.3 kB / 0.9107 GB, free: 53.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005915/0.2486, allocations: 151.9 kB / 0.9108 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2486, allocations: 0 / 0.9108 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.2488, allocations: 60.03 kB / 0.9109 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009136/0.2498, allocations: 90.02 kB / 0.911 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.2516, allocations: 0.9145 MB / 0.9119 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004631/0.2522, allocations: 0.8575 MB / 0.9127 GB, free: 51.1 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002674/0.2525, allocations: 50.23 kB / 0.9127 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.2526, allocations: 27.44 kB / 0.9128 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of SimCode: time 1.122e-06/0.2526, allocations: 0 / 0.9128 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of Templates: time 0.01433/0.2669, allocations: 3.828 MB / 0.9165 GB, free: 47.23 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)