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.917/4.917, allocations: 0.5623 GB / 0.5769 GB, free: 3.281 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.002364/0.002364, allocations: 355.5 kB / 0.644 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.965/3.965, allocations: 410.7 MB / 1.112 GB, free: 5.812 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001796/0.001796, allocations: 183.2 kB / 1.225 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000482/0.0004822, allocations: 12 kB / 1.348 GB, free: 8.148 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5765/0.577, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1715/0.7485, allocations: 175.1 MB / 1.632 GB, free: 109.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01033/0.7589, allocations: 6.512 MB / 1.638 GB, free: 102.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001565/0.7605, allocations: 39.69 kB / 1.638 GB, free: 102.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002057/0.7625, allocations: 0.6057 MB / 1.639 GB, free: 101.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.005592/0.7682, allocations: 1.768 MB / 1.64 GB, free: 100.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.005156/0.7734, allocations: 1.541 MB / 1.642 GB, free: 98.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003987/0.7774, allocations: 3.168 MB / 1.645 GB, free: 95.52 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/0.7786, allocations: 0.6546 MB / 1.646 GB, free: 94.87 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002036/0.7806, allocations: 0.9607 MB / 1.647 GB, free: 93.91 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.7818, allocations: 0.7406 MB / 1.647 GB, free: 93.16 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001654/0.782, allocations: 43.94 kB / 1.647 GB, free: 93.12 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002646/0.7846, allocations: 1.079 MB / 1.648 GB, free: 92.04 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003383/0.785, allocations: 302.9 kB / 1.649 GB, free: 91.74 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003175/0.7853, allocations: 241.1 kB / 1.649 GB, free: 91.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.00194/0.7873, allocations: 1.567 MB / 1.651 GB, free: 89.93 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.423e-06/0.7873, allocations: 0 / 1.651 GB, free: 89.93 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.96e-06/0.7873, allocations: 0 / 1.651 GB, free: 89.93 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.111e-05/0.7873, allocations: 0 / 1.651 GB, free: 89.93 MB / 0.8542 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.003637/0.791, allocations: 1.407 MB / 1.652 GB, free: 88.46 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.791, allocations: 15.56 kB / 1.652 GB, free: 88.45 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003778/0.7948, allocations: 0.6073 MB / 1.652 GB, free: 87.84 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002474/0.7973, allocations: 0.9604 MB / 1.653 GB, free: 86.84 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001267/0.7986, allocations: 321 kB / 1.654 GB, free: 86.53 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002182/0.7989, allocations: 75.98 kB / 1.654 GB, free: 86.45 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003046/0.8019, allocations: 1.166 MB / 1.655 GB, free: 85.27 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.802, allocations: 3.984 kB / 1.655 GB, free: 85.27 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.8021, allocations: 28 kB / 1.655 GB, free: 85.24 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.464e-05/0.8022, allocations: 37.27 kB / 1.655 GB, free: 85.21 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004078/0.8063, allocations: 1.325 MB / 1.656 GB, free: 83.88 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006572/0.8129, allocations: 2.972 MB / 1.659 GB, free: 80.86 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/0.8151, allocations: 0.727 MB / 1.66 GB, free: 80.12 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.8162, allocations: 454.1 kB / 1.66 GB, free: 79.67 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007537/0.817, allocations: 1.021 MB / 1.661 GB, free: 78.43 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001261/0.8183, allocations: 0.5486 MB / 1.662 GB, free: 77.86 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=59): time 4.035e-06/0.8183, allocations: 0 / 1.662 GB, free: 77.86 MB / 0.8542 GB Notification: Performance of matching and sorting (n=59): time 0.003752/0.822, allocations: 1.287 MB / 1.663 GB, free: 76.56 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.8221, allocations: 111.2 kB / 1.663 GB, free: 76.43 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002338/0.8245, allocations: 1.211 MB / 1.664 GB, free: 75.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001202/0.8246, allocations: 37.7 kB / 1.664 GB, free: 75.16 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003462/0.825, allocations: 429.5 kB / 1.665 GB, free: 74.74 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.8252, allocations: 197.2 kB / 1.665 GB, free: 74.54 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.134e-05/0.8253, allocations: 8 kB / 1.665 GB, free: 74.54 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.991e-05/0.8253, allocations: 334 kB / 1.665 GB, free: 74.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001626/0.827, allocations: 496.9 kB / 1.666 GB, free: 73.72 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001758/0.8288, allocations: 0.643 MB / 1.666 GB, free: 73.03 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/0.8304, allocations: 0.5464 MB / 1.667 GB, free: 72.48 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.495e-06/0.8305, allocations: 4 kB / 1.667 GB, free: 72.48 MB / 0.8542 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003901/0.8344, allocations: 1.315 MB / 1.668 GB, free: 71.15 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.583e-05/0.8344, allocations: 33.7 kB / 1.668 GB, free: 71.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.8345, allocations: 4 kB / 1.668 GB, free: 71.11 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.8345, allocations: 4 kB / 1.668 GB, free: 71.11 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.8357, allocations: 216.9 kB / 1.669 GB, free: 70.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/0.8358, allocations: 11.98 kB / 1.669 GB, free: 70.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/0.8376, allocations: 311.6 kB / 1.669 GB, free: 70.58 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.8378, allocations: 39.91 kB / 1.669 GB, free: 70.54 MB / 0.8542 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.0005855/0.8384, allocations: 327.4 kB / 1.669 GB, free: 70.21 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/0.8386, allocations: 118.5 kB / 1.669 GB, free: 70.09 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002664/0.8413, allocations: 1.067 MB / 1.67 GB, free: 69.01 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.8413, allocations: 11.94 kB / 1.67 GB, free: 69 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.119e-06/0.8413, allocations: 0 / 1.67 GB, free: 69 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.269e-06/0.8414, allocations: 7.922 kB / 1.67 GB, free: 68.99 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006056/0.8474, allocations: 3.23 MB / 1.674 GB, free: 65.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/0.8475, allocations: 8 kB / 1.674 GB, free: 65.59 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007715/0.8483, allocations: 132 kB / 1.674 GB, free: 65.46 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.828e-05/0.8483, allocations: 12.61 kB / 1.674 GB, free: 65.45 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.729e-05/0.8484, allocations: 27.98 kB / 1.674 GB, free: 65.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-05/0.8484, allocations: 19.91 kB / 1.674 GB, free: 65.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.777e-06/0.8484, allocations: 15.89 kB / 1.674 GB, free: 65.39 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002592/0.851, allocations: 1.321 MB / 1.675 GB, free: 63.95 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006347/0.8517, allocations: 339.4 kB / 1.675 GB, free: 63.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002041/0.8519, allocations: 20 kB / 1.675 GB, free: 63.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/0.8533, allocations: 123.9 kB / 1.676 GB, free: 63.46 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.8534, allocations: 71.23 kB / 1.676 GB, free: 63.39 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.8535, allocations: 43.97 kB / 1.676 GB, free: 63.35 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001793/0.8553, allocations: 0.8714 MB / 1.676 GB, free: 62.47 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.02e-07/0.8554, allocations: 0 / 1.676 GB, free: 62.47 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001165/0.8565, allocations: 307.8 kB / 1.677 GB, free: 62.17 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 0 () * 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 (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.0006761/0.8572, allocations: 338.6 kB / 1.677 GB, free: 61.84 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002892/0.8601, allocations: 1.076 MB / 1.678 GB, free: 60.75 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.063e-06/0.8602, allocations: 8.312 kB / 1.678 GB, free: 60.74 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.8613, allocations: 0.5415 MB / 1.679 GB, free: 60.19 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003277/0.8646, allocations: 0.5528 MB / 1.679 GB, free: 59.66 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004518/0.8692, allocations: 2.323 MB / 1.681 GB, free: 57.21 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006126/0.8698, allocations: 1.089 MB / 1.683 GB, free: 56.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001698/0.8715, allocations: 287 kB / 1.683 GB, free: 55.82 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003316/0.8719, allocations: 83.41 kB / 1.683 GB, free: 55.74 MB / 0.8542 GB Notification: Performance of SimCode: time 1.694e-06/0.8719, allocations: 0 / 1.683 GB, free: 55.74 MB / 0.8542 GB Notification: Performance of Templates: time 0.04148/0.9134, allocations: 20.83 MB / 1.703 GB, free: 35.31 MB / 0.8542 GB