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.0008584/0.0008584, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0009788/0.000979, allocations: 168.7 kB / 15.95 MB, free: 204 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.405/1.405, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.52/1.52, allocations: 252 MB / 0.5102 GB, free: 4.727 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.0005172/0.0005173, allocations: 12 kB / 0.6243 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4843/0.4848, allocations: 106.3 MB / 0.7281 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.01754/0.5024, allocations: 19.14 MB / 0.7468 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00668/0.5092, allocations: 4.983 MB / 0.7517 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005675/0.5098, allocations: 19.81 kB / 0.7517 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007152/0.5105, allocations: 254.5 kB / 0.7519 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001787/0.5123, allocations: 0.7579 MB / 0.7527 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001945/0.5142, allocations: 0.7346 MB / 0.7534 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002048/0.5163, allocations: 1.942 MB / 0.7553 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005126/0.5168, allocations: 389 kB / 0.7557 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007389/0.5176, allocations: 0.5797 MB / 0.7562 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005103/0.5181, allocations: 458 kB / 0.7567 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.385e-05/0.5182, allocations: 20 kB / 0.7567 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.5197, allocations: 0.9551 MB / 0.7576 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.5198, allocations: 123.4 kB / 0.7577 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.52, allocations: 145.4 kB / 0.7579 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008617/0.5208, allocations: 0.8263 MB / 0.7587 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.5208, allocations: 0 / 0.7587 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5208, allocations: 0 / 0.7587 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.5209, allocations: 0 / 0.7587 GB, free: 11.96 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.001293/0.5221, allocations: 0.9208 MB / 0.7596 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.5222, allocations: 20.02 kB / 0.7596 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008972/0.5231, allocations: 191 kB / 0.7598 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009544/0.5241, allocations: 0.5338 MB / 0.7603 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002822/0.5244, allocations: 100.9 kB / 0.7604 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.52e-05/0.5244, allocations: 39.94 kB / 0.7604 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008535/0.5253, allocations: 500 kB / 0.7609 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.5253, allocations: 4 kB / 0.7609 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.356e-05/0.5254, allocations: 19.98 kB / 0.7609 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.5254, allocations: 8 kB / 0.761 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008968/0.5263, allocations: 422.6 kB / 0.7614 GB, free: 9.109 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.002605/0.5289, allocations: 2.289 MB / 0.7636 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009133/0.5298, allocations: 402.9 kB / 0.764 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004558/0.5303, allocations: 240.9 kB / 0.7642 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002681/0.5306, allocations: 336.6 kB / 0.7645 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005727/0.5312, allocations: 303.6 kB / 0.7648 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.853e-06/0.5312, allocations: 4 kB / 0.7648 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.002075/0.5333, allocations: 0.8802 MB / 0.7657 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.5333, allocations: 89.05 kB / 0.7658 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004854/0.5338, allocations: 494.9 kB / 0.7662 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.5339, allocations: 29.7 kB / 0.7663 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.5341, allocations: 280.4 kB / 0.7665 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.837e-05/0.5342, allocations: 110.5 kB / 0.7666 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/0.5342, allocations: 8 kB / 0.7666 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.5343, allocations: 358.8 kB / 0.767 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004098/0.5348, allocations: 179.9 kB / 0.7672 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004571/0.5352, allocations: 273.1 kB / 0.7674 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000426/0.5357, allocations: 221.6 kB / 0.7676 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5357, allocations: 0 / 0.7676 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001266/0.5369, allocations: 0.6361 MB / 0.7683 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.725e-05/0.5371, allocations: 168 kB / 0.7684 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.5371, allocations: 0 / 0.7684 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003178/0.5374, allocations: 68.88 kB / 0.7685 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/0.5377, allocations: 87.88 kB / 0.7686 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004297/0.5382, allocations: 0.5991 MB / 0.7691 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004955/0.5387, allocations: 83.7 kB / 0.7692 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/0.5387, allocations: 15.98 kB / 0.7692 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/0.5388, allocations: 4 kB / 0.7692 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001138/0.5399, allocations: 0.5489 MB / 0.7698 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-06/0.5399, allocations: 0 / 0.7698 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001437/0.5401, allocations: 56.84 kB / 0.7698 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003358/0.5404, allocations: 88 kB / 0.7699 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.5418, allocations: 1.619 MB / 0.7715 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004507/0.5423, allocations: 87.62 kB / 0.7716 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.5423, allocations: 12 kB / 0.7716 GB, free: 13.95 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 ($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.0003036/0.5426, allocations: 302.7 kB / 0.7719 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.468e-05/0.5427, allocations: 59.34 kB / 0.7719 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/0.5441, allocations: 0.6653 MB / 0.7726 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/0.5441, allocations: 3.953 kB / 0.7726 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.5441, allocations: 4 kB / 0.7726 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001229/0.5454, allocations: 0.8213 MB / 0.7734 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002163/0.5475, allocations: 1.307 MB / 0.7747 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.5476, allocations: 8 kB / 0.7747 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.5479, allocations: 63.89 kB / 0.7747 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001429/0.5481, allocations: 52.84 kB / 0.7748 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/0.5481, allocations: 8 kB / 0.7748 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003448/0.5485, allocations: 0.5719 MB / 0.7754 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.5485, allocations: 3.984 kB / 0.7754 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.5502, allocations: 0.9992 MB / 0.7763 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002419/0.5505, allocations: 188.4 kB / 0.7765 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.534e-05/0.5506, allocations: 16.02 kB / 0.7765 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005162/0.5511, allocations: 63.84 kB / 0.7766 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.5512, allocations: 23.97 kB / 0.7766 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/0.5512, allocations: 15.98 kB / 0.7766 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003918/0.5516, allocations: 342.8 kB / 0.777 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5516, allocations: 7.938 kB / 0.777 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001186/0.5528, allocations: 339.5 kB / 0.7773 GB, free: 7.84 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 (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.0007345/0.5536, allocations: 301 kB / 0.7776 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001989/0.5556, allocations: 1.002 MB / 0.7786 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.5556, allocations: 0 / 0.7786 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006272/0.5562, allocations: 336.1 kB / 0.7789 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.5575, allocations: 238 kB / 0.7791 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.5597, allocations: 1.35 MB / 0.7804 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.5602, allocations: 0.8784 MB / 0.7813 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005585/0.5608, allocations: 124.3 kB / 0.7814 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.5609, allocations: 51.36 kB / 0.7815 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.5609, allocations: 0 / 0.7815 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of Templates: time 0.01924/0.5802, allocations: 10.59 MB / 0.7918 GB, free: 9.012 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: