Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json 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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.792/4.792, allocations: 0.5623 GB / 0.5776 GB, free: 3.305 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002528/0.002528, allocations: 353.9 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.975/3.975, allocations: 410.7 MB / 1.113 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001738/0.001737, allocations: 182.6 kB / 1.226 GB, free: 35.97 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004788/0.0004789, allocations: 12 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.195, allocations: 115.3 MB / 1.461 GB, free: 6.609 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.8723/1.067, allocations: 175.1 MB / 1.632 GB, free: 2.988 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01447/1.082, allocations: 6.524 MB / 1.639 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/1.084, allocations: 38.84 kB / 1.639 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002829/1.087, allocations: 0.5982 MB / 1.639 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.00724/1.094, allocations: 1.768 MB / 1.641 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.006886/1.101, allocations: 1.544 MB / 1.643 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00574/1.106, allocations: 3.178 MB / 1.646 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001776/1.108, allocations: 0.6548 MB / 1.646 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002908/1.111, allocations: 0.9463 MB / 1.647 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001897/1.113, allocations: 0.7506 MB / 1.648 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002335/1.113, allocations: 41.38 kB / 1.648 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003951/1.117, allocations: 1.08 MB / 1.649 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0006379/1.118, allocations: 305.4 kB / 1.649 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0005057/1.119, allocations: 239.6 kB / 1.65 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003272/1.122, allocations: 1.561 MB / 1.651 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.264e-05/1.122, allocations: 0 / 1.651 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.735e-06/1.122, allocations: 3.938 kB / 1.651 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.844e-05/1.122, allocations: 0 / 1.651 GB, free: 5.562 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.005774/1.128, allocations: 1.405 MB / 1.652 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/1.128, allocations: 8.719 kB / 1.653 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00533/1.133, allocations: 0.6116 MB / 1.653 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003818/1.137, allocations: 0.9604 MB / 1.654 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00233/1.139, allocations: 325 kB / 1.654 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000299/1.14, allocations: 68 kB / 1.654 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00461/1.144, allocations: 1.172 MB / 1.656 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.634e-05/1.144, allocations: 0 / 1.656 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001492/1.145, allocations: 28 kB / 1.656 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.857e-05/1.145, allocations: 41.25 kB / 1.656 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006314/1.151, allocations: 1.321 MB / 1.657 GB, free: 64 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009873/1.161, allocations: 2.972 MB / 1.66 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003271/1.164, allocations: 0.7358 MB / 1.661 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00155/1.166, allocations: 460.1 kB / 1.661 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001203/1.167, allocations: 1.021 MB / 1.662 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001777/1.169, allocations: 0.537 MB / 1.662 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=59): time 5.25e-06/1.169, allocations: 0 / 1.662 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=59): time 0.00532/1.174, allocations: 1.291 MB / 1.664 GB, free: 8.73 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.875e-05/1.174, allocations: 111.2 kB / 1.664 GB, free: 8.598 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003188/1.178, allocations: 1.207 MB / 1.665 GB, free: 7.375 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/1.178, allocations: 37.7 kB / 1.665 GB, free: 7.332 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000511/1.178, allocations: 437.4 kB / 1.665 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002498/1.178, allocations: 197.2 kB / 1.666 GB, free: 6.707 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.838e-05/1.179, allocations: 8 kB / 1.666 GB, free: 6.699 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.179, allocations: 330 kB / 1.666 GB, free: 6.371 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00259/1.181, allocations: 0.493 MB / 1.666 GB, free: 5.879 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002778/1.184, allocations: 0.6391 MB / 1.667 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002661/1.187, allocations: 0.5503 MB / 1.668 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/1.187, allocations: 4 kB / 1.668 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.006201/1.193, allocations: 1.315 MB / 1.669 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.342e-05/1.193, allocations: 37.69 kB / 1.669 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/1.193, allocations: 4 kB / 1.669 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/1.193, allocations: 4 kB / 1.669 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/1.195, allocations: 215.9 kB / 1.669 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.383e-05/1.195, allocations: 8.625 kB / 1.669 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003209/1.198, allocations: 314.2 kB / 1.669 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002053/1.199, allocations: 35.97 kB / 1.67 GB, free: 2.695 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (69): * Single equations (assignments): 68 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007922/1.199, allocations: 323.3 kB / 1.67 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003481/1.2, allocations: 118.5 kB / 1.67 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00387/1.204, allocations: 1.075 MB / 1.671 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/1.204, allocations: 3.984 kB / 1.671 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/1.204, allocations: 4 kB / 1.671 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008404/1.205, allocations: 327.2 kB / 1.671 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002612/1.205, allocations: 16 kB / 1.671 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001973/1.207, allocations: 127.9 kB / 1.671 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/1.207, allocations: 32.52 kB / 1.671 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004045/1.211, allocations: 1.178 MB / 1.673 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003652/1.215, allocations: 1.257 MB / 1.674 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001473/1.216, allocations: 436.2 kB / 1.674 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002702/1.219, allocations: 0.8714 MB / 1.675 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of Backend: time 1.172e-06/1.219, allocations: 3.938 kB / 1.675 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005438/1.224, allocations: 1.186 MB / 1.676 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of SimCode: time 0.006583/1.231, allocations: 2.574 MB / 1.679 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of Templates: time 0.06487/1.296, allocations: 24.56 MB / 1.703 GB, free: 0.6992 MB / 0.7605 GB