Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0007869/0.000787, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.008064/0.008064, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.547/1.547, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.547/1.547, allocations: 252 MB / 0.5105 GB, free: 4.605 MB / 414.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.0005686/0.0005686, allocations: 20 kB / 0.6249 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.48/0.4806, allocations: 106.3 MB / 0.7287 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02173/0.5024, allocations: 20.17 MB / 0.7484 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007821/0.5102, allocations: 5.325 MB / 0.7536 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009346/0.5112, allocations: 23.81 kB / 0.7536 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.5123, allocations: 282.5 kB / 0.7539 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002703/0.515, allocations: 0.8672 MB / 0.7548 GB, free: 448 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002474/0.5175, allocations: 0.7973 MB / 0.7555 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002584/0.5201, allocations: 2.285 MB / 0.7578 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007298/0.5208, allocations: 418.6 kB / 0.7582 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/0.5219, allocations: 0.5834 MB / 0.7587 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007434/0.5227, allocations: 497.8 kB / 0.7592 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.189e-05/0.5227, allocations: 24 kB / 0.7592 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002549/0.5253, allocations: 1.088 MB / 0.7603 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.5255, allocations: 127.4 kB / 0.7604 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000372/0.5259, allocations: 324 kB / 0.7607 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001682/0.5276, allocations: 1.176 MB / 0.7619 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.5276, allocations: 4 kB / 0.7619 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5276, allocations: 0 / 0.7619 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.5276, allocations: 0 / 0.7619 GB, free: 9.113 MB / 0.5762 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.001758/0.5294, allocations: 0.917 MB / 0.7628 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.5294, allocations: 8.031 kB / 0.7628 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008727/0.5303, allocations: 204 kB / 0.763 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009538/0.5313, allocations: 0.5534 MB / 0.7635 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003259/0.5316, allocations: 100.9 kB / 0.7636 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.633e-05/0.5317, allocations: 36 kB / 0.7636 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009358/0.5326, allocations: 0.496 MB / 0.7641 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.5327, allocations: 7.938 kB / 0.7641 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.293e-05/0.5327, allocations: 12 kB / 0.7642 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/0.5327, allocations: 8 kB / 0.7642 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.5338, allocations: 434.6 kB / 0.7646 GB, free: 6.234 MB / 0.5762 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.002716/0.5365, allocations: 2.289 MB / 0.7668 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.5375, allocations: 394.9 kB / 0.7672 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005174/0.5381, allocations: 239.8 kB / 0.7674 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002829/0.5384, allocations: 348.7 kB / 0.7677 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000622/0.539, allocations: 299.6 kB / 0.768 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 4.739e-06/0.539, allocations: 0 / 0.768 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.002274/0.5413, allocations: 0.9036 MB / 0.7689 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.5413, allocations: 81.11 kB / 0.769 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005029/0.5419, allocations: 491 kB / 0.7695 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.222e-05/0.5419, allocations: 37.7 kB / 0.7695 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.5421, allocations: 276.4 kB / 0.7698 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.366e-05/0.5422, allocations: 110.5 kB / 0.7699 GB, free: 440 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.545e-05/0.5423, allocations: 37.7 kB / 0.7699 GB, free: 396 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.5424, allocations: 358.8 kB / 0.7702 GB, free: 28 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004736/0.5429, allocations: 179.9 kB / 0.7704 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005201/0.5434, allocations: 277.1 kB / 0.7707 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009833/0.5444, allocations: 497.5 kB / 0.7712 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.5444, allocations: 3.938 kB / 0.7712 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001391/0.5458, allocations: 0.6319 MB / 0.7718 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.928e-05/0.546, allocations: 171.9 kB / 0.7719 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.546, allocations: 0 / 0.7719 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000324/0.5463, allocations: 68.81 kB / 0.772 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/0.5467, allocations: 83.88 kB / 0.7721 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004299/0.5471, allocations: 0.5952 MB / 0.7727 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005267/0.5476, allocations: 83.69 kB / 0.7727 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-05/0.5477, allocations: 15.98 kB / 0.7728 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.322e-06/0.5477, allocations: 7.938 kB / 0.7728 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001269/0.549, allocations: 0.5604 MB / 0.7733 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/0.549, allocations: 0 / 0.7733 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001318/0.5491, allocations: 48.83 kB / 0.7734 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003517/0.5495, allocations: 88.03 kB / 0.7734 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.5509, allocations: 1.638 MB / 0.775 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004872/0.5514, allocations: 75.69 kB / 0.7751 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.5514, allocations: 27.92 kB / 0.7751 GB, free: 10.7 MB / 0.5919 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 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000286/0.5517, allocations: 294.7 kB / 0.7754 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.501e-05/0.5518, allocations: 55.34 kB / 0.7755 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/0.5533, allocations: 0.6726 MB / 0.7761 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.5533, allocations: 8.109 kB / 0.7761 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.5533, allocations: 4 kB / 0.7761 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001333/0.5546, allocations: 0.8178 MB / 0.7769 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/0.5568, allocations: 1.315 MB / 0.7782 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5568, allocations: 0 / 0.7782 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003286/0.5571, allocations: 75.98 kB / 0.7783 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000117/0.5572, allocations: 40.83 kB / 0.7783 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.092e-05/0.5573, allocations: 16 kB / 0.7784 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003367/0.5576, allocations: 0.5641 MB / 0.7789 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.5577, allocations: 11.91 kB / 0.7789 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.5595, allocations: 0.999 MB / 0.7799 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000205/0.5597, allocations: 180.3 kB / 0.7801 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.929e-05/0.5598, allocations: 12 kB / 0.7801 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005468/0.5603, allocations: 67.84 kB / 0.7801 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.874e-05/0.5604, allocations: 23.97 kB / 0.7802 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.423e-05/0.5605, allocations: 24.05 kB / 0.7802 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003822/0.5609, allocations: 346.8 kB / 0.7805 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5609, allocations: 3.938 kB / 0.7805 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009987/0.5619, allocations: 339.5 kB / 0.7808 GB, free: 4.59 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000597/0.5625, allocations: 299.8 kB / 0.7811 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001942/0.5644, allocations: 1.011 MB / 0.7821 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5644, allocations: 0 / 0.7821 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006092/0.5651, allocations: 323.9 kB / 0.7824 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.5665, allocations: 245.9 kB / 0.7827 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.5685, allocations: 1.388 MB / 0.784 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/0.5689, allocations: 0.8783 MB / 0.7849 GB, free: 364 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004697/0.5694, allocations: 132.3 kB / 0.785 GB, free: 228 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.5695, allocations: 47.42 kB / 0.785 GB, free: 180 kB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.5695, allocations: 0 / 0.785 GB, free: 180 kB / 0.5919 GB Notification: Performance of Templates: time 0.01768/0.5872, allocations: 10.93 MB / 0.7957 GB, free: 5.383 MB / 0.6075 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1) Environment - environmentSimulation: