Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.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.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008258/0.0008258, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0007968/0.0007968, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.631/1.631, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005418/0.0005418, allocations: 13.56 kB / 0.6737 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2104, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.01771/0.2281, allocations: 19.11 MB / 0.8059 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007089/0.2353, allocations: 4.999 MB / 0.8108 GB, free: 3.754 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006265/0.2359, allocations: 19.88 kB / 0.8108 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007497/0.2367, allocations: 258.4 kB / 0.8111 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001814/0.2385, allocations: 0.7502 MB / 0.8118 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002299/0.2408, allocations: 0.7578 MB / 0.8126 GB, free: 1.977 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002315/0.2431, allocations: 1.93 MB / 0.8144 GB, free: 44 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006099/0.2438, allocations: 399.3 kB / 0.8148 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009992/0.2448, allocations: 0.5874 MB / 0.8154 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005744/0.2454, allocations: 454 kB / 0.8158 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.799e-05/0.2454, allocations: 24 kB / 0.8159 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001729/0.2472, allocations: 0.9629 MB / 0.8168 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.2473, allocations: 119.5 kB / 0.8169 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.2475, allocations: 137.4 kB / 0.817 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.2485, allocations: 0.8224 MB / 0.8178 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2485, allocations: 0 / 0.8178 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2485, allocations: 3.938 kB / 0.8179 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.2485, allocations: 0 / 0.8179 GB, free: 12.53 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001381/0.2499, allocations: 0.9286 MB / 0.8188 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.25, allocations: 15.97 kB / 0.8188 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007862/0.2508, allocations: 195.1 kB / 0.819 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009247/0.2517, allocations: 0.5376 MB / 0.8195 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002861/0.252, allocations: 104.8 kB / 0.8196 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.137e-05/0.2521, allocations: 36 kB / 0.8196 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008919/0.253, allocations: 0.4921 MB / 0.8201 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.253, allocations: 0 / 0.8201 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.229e-05/0.253, allocations: 16 kB / 0.8201 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/0.2531, allocations: 12 kB / 0.8201 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008974/0.254, allocations: 434.6 kB / 0.8205 GB, free: 9.645 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002594/0.2566, allocations: 2.293 MB / 0.8228 GB, free: 7.141 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009188/0.2575, allocations: 398.9 kB / 0.8232 GB, free: 6.742 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004488/0.258, allocations: 233 kB / 0.8234 GB, free: 6.512 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002677/0.2582, allocations: 340.7 kB / 0.8237 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005748/0.2588, allocations: 314.1 kB / 0.824 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=33): time 3.096e-06/0.2588, allocations: 0 / 0.824 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33): time 0.002028/0.2609, allocations: 0.8919 MB / 0.8249 GB, free: 4.855 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.2609, allocations: 85.11 kB / 0.825 GB, free: 4.754 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005076/0.2614, allocations: 487 kB / 0.8254 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.477e-05/0.2615, allocations: 33.7 kB / 0.8255 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.2617, allocations: 284.4 kB / 0.8257 GB, free: 3.949 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 8.609e-05/0.2618, allocations: 102.5 kB / 0.8258 GB, free: 3.848 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.077e-05/0.2618, allocations: 8 kB / 0.8258 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.262, allocations: 362.8 kB / 0.8262 GB, free: 3.477 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004023/0.2624, allocations: 179.7 kB / 0.8264 GB, free: 3.301 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004518/0.2629, allocations: 270 kB / 0.8266 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004498/0.2633, allocations: 230 kB / 0.8268 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2633, allocations: 0 / 0.8268 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001252/0.2646, allocations: 0.6406 MB / 0.8275 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.895e-05/0.2647, allocations: 160 kB / 0.8276 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.2647, allocations: 7.984 kB / 0.8276 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003043/0.265, allocations: 64.8 kB / 0.8277 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/0.2654, allocations: 87.88 kB / 0.8278 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004177/0.2658, allocations: 0.5992 MB / 0.8283 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004752/0.2663, allocations: 83.62 kB / 0.8284 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/0.2663, allocations: 16 kB / 0.8284 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.993e-06/0.2664, allocations: 4 kB / 0.8284 GB, free: 1.043 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001109/0.2675, allocations: 0.5527 MB / 0.829 GB, free: 492 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2675, allocations: 4 kB / 0.829 GB, free: 488 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001234/0.2676, allocations: 48.78 kB / 0.829 GB, free: 436 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/0.2679, allocations: 88.03 kB / 0.8291 GB, free: 348 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.2693, allocations: 1.619 MB / 0.8307 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004272/0.2698, allocations: 75.64 kB / 0.8308 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/0.2698, allocations: 23.98 kB / 0.8308 GB, free: 14.48 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002936/0.2701, allocations: 301.8 kB / 0.8311 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.037e-05/0.2702, allocations: 55.34 kB / 0.8311 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.2715, allocations: 0.6729 MB / 0.8318 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.2715, allocations: 7.953 kB / 0.8318 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.2715, allocations: 0 / 0.8318 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001169/0.2727, allocations: 0.817 MB / 0.8326 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/0.2747, allocations: 1.317 MB / 0.8339 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.2747, allocations: 4 kB / 0.8339 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003106/0.275, allocations: 67.98 kB / 0.834 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001197/0.2752, allocations: 44.83 kB / 0.834 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.2752, allocations: 11.94 kB / 0.834 GB, free: 11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003327/0.2755, allocations: 0.5796 MB / 0.8346 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2755, allocations: 0 / 0.8346 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.2772, allocations: 1.003 MB / 0.8355 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/0.2774, allocations: 192.3 kB / 0.8357 GB, free: 9.145 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.762e-05/0.2775, allocations: 8 kB / 0.8357 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004775/0.278, allocations: 67.95 kB / 0.8358 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/0.278, allocations: 19.97 kB / 0.8358 GB, free: 9.051 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.2781, allocations: 23.92 kB / 0.8358 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003349/0.2784, allocations: 342.8 kB / 0.8362 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2784, allocations: 0 / 0.8362 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009795/0.2794, allocations: 339.5 kB / 0.8365 GB, free: 8.363 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005312/0.2799, allocations: 298.8 kB / 0.8368 GB, free: 8.074 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001841/0.2818, allocations: 1.007 MB / 0.8378 GB, free: 7.031 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2818, allocations: 0 / 0.8378 GB, free: 7.031 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005625/0.2824, allocations: 331.4 kB / 0.8381 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.2835, allocations: 245.9 kB / 0.8383 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.2856, allocations: 1.343 MB / 0.8396 GB, free: 5.074 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.286, allocations: 0.8784 MB / 0.8405 GB, free: 4.168 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004937/0.2865, allocations: 132.3 kB / 0.8406 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.2866, allocations: 47.42 kB / 0.8407 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of SimCode: time 4.91e-07/0.2866, allocations: 0 / 0.8407 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of Templates: time 0.01714/0.3037, allocations: 10.68 MB / 0.8511 GB, free: 9.449 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1) Environment - environmentSimulation: