Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002515/0.00252, allocations: 355.5 kB / 16.59 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.598/1.598, allocations: 165.8 MB / 183.1 MB, free: 5.465 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.743/3.743, allocations: 410.8 MB / 0.6001 GB, free: 15.14 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00176/0.00176, allocations: 191.2 kB / 0.6668 GB, free: 6.902 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004969/0.0004972, allocations: 15.98 kB / 0.7429 GB, free: 8.941 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3887, allocations: 67.44 MB / 0.8087 GB, free: 28.75 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.02222/0.411, allocations: 19.09 MB / 0.8274 GB, free: 9.594 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008545/0.4196, allocations: 4.907 MB / 0.8322 GB, free: 4.68 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007253/0.4204, allocations: 19.88 kB / 0.8322 GB, free: 4.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.4214, allocations: 274.3 kB / 0.8325 GB, free: 4.391 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002677/0.4241, allocations: 0.8314 MB / 0.8333 GB, free: 3.555 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003467/0.4276, allocations: 0.9022 MB / 0.8341 GB, free: 2.668 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002592/0.4302, allocations: 1.93 MB / 0.836 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006869/0.4309, allocations: 397.2 kB / 0.8364 GB, free: 336 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/0.4321, allocations: 0.564 MB / 0.837 GB, free: 15.76 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008847/0.433, allocations: 465.9 kB / 0.8374 GB, free: 15.3 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.129e-05/0.4331, allocations: 27.94 kB / 0.8374 GB, free: 15.28 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002324/0.4354, allocations: 0.7912 MB / 0.8382 GB, free: 14.48 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002002/0.4356, allocations: 119.5 kB / 0.8383 GB, free: 14.37 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002136/0.4358, allocations: 137.4 kB / 0.8385 GB, free: 14.23 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.4374, allocations: 0.7756 MB / 0.8392 GB, free: 13.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.4374, allocations: 0 / 0.8392 GB, free: 13.45 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4374, allocations: 3.938 kB / 0.8392 GB, free: 13.45 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.4374, allocations: 0 / 0.8392 GB, free: 13.45 MB / 394.7 MB 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.002066/0.4395, allocations: 0.9206 MB / 0.8401 GB, free: 12.47 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.4395, allocations: 12.03 kB / 0.8401 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/0.441, allocations: 187.1 kB / 0.8403 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.4426, allocations: 0.5299 MB / 0.8408 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006053/0.4432, allocations: 100.9 kB / 0.8409 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.4433, allocations: 43.89 kB / 0.841 GB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.4449, allocations: 0.5037 MB / 0.8414 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.445, allocations: 0 / 0.8414 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.866e-05/0.4451, allocations: 15.95 kB / 0.8415 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/0.4451, allocations: 12 kB / 0.8415 GB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/0.4469, allocations: 430.6 kB / 0.8419 GB, free: 10.59 MB / 394.7 MB 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.004377/0.4513, allocations: 2.293 MB / 0.8441 GB, free: 8.082 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001815/0.4531, allocations: 395 kB / 0.8445 GB, free: 7.688 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008996/0.454, allocations: 240.9 kB / 0.8447 GB, free: 7.449 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003572/0.4544, allocations: 336.6 kB / 0.8451 GB, free: 7.047 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/0.4555, allocations: 308.1 kB / 0.8453 GB, free: 6.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=33): time 3.086e-06/0.4555, allocations: 0 / 0.8453 GB, free: 6.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.003785/0.4593, allocations: 0.8929 MB / 0.8462 GB, free: 5.805 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.4594, allocations: 81.11 kB / 0.8463 GB, free: 5.707 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000804/0.4602, allocations: 494.8 kB / 0.8468 GB, free: 5.215 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.027e-05/0.4603, allocations: 33.7 kB / 0.8468 GB, free: 5.176 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002975/0.4606, allocations: 280.4 kB / 0.8471 GB, free: 4.898 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.4607, allocations: 106.5 kB / 0.8472 GB, free: 4.793 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.4608, allocations: 8 kB / 0.8472 GB, free: 4.785 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.4609, allocations: 362.7 kB / 0.8475 GB, free: 4.422 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007982/0.4617, allocations: 179.9 kB / 0.8477 GB, free: 4.246 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008972/0.4627, allocations: 281 kB / 0.848 GB, free: 3.938 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008489/0.4635, allocations: 221.6 kB / 0.8482 GB, free: 3.715 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.4635, allocations: 0 / 0.8482 GB, free: 3.715 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002434/0.466, allocations: 0.6239 MB / 0.8488 GB, free: 3.074 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001316/0.4661, allocations: 175.8 kB / 0.849 GB, free: 2.871 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.4662, allocations: 4.078 kB / 0.849 GB, free: 2.867 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005017/0.4667, allocations: 64.8 kB / 0.849 GB, free: 2.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006788/0.4674, allocations: 91.81 kB / 0.8491 GB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006089/0.468, allocations: 0.5875 MB / 0.8497 GB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000931/0.4689, allocations: 87.62 kB / 0.8498 GB, free: 2.012 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.558e-05/0.469, allocations: 16 kB / 0.8498 GB, free: 1.996 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.769e-06/0.469, allocations: 4 kB / 0.8498 GB, free: 1.992 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002112/0.4712, allocations: 0.5566 MB / 0.8503 GB, free: 1.426 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4712, allocations: 4 kB / 0.8503 GB, free: 1.422 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00023/0.4714, allocations: 48.77 kB / 0.8504 GB, free: 1.371 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006559/0.4721, allocations: 84.03 kB / 0.8505 GB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/0.4742, allocations: 1.631 MB / 0.852 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009051/0.4751, allocations: 71.89 kB / 0.8521 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.421e-05/0.4752, allocations: 23.98 kB / 0.8521 GB, free: 15.42 MB / 410.7 MB 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.0004387/0.4756, allocations: 300.8 kB / 0.8524 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.4758, allocations: 59.28 kB / 0.8525 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002418/0.4782, allocations: 0.6726 MB / 0.8531 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002165/0.4804, allocations: 0.8171 MB / 0.8539 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.4804, allocations: 4 kB / 0.8539 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003644/0.4808, allocations: 184.3 kB / 0.8541 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.4809, allocations: 12 kB / 0.8541 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009243/0.4818, allocations: 63.84 kB / 0.8542 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.68e-05/0.4819, allocations: 23.97 kB / 0.8542 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002744/0.4847, allocations: 0.7753 MB / 0.855 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003077/0.4878, allocations: 1.011 MB / 0.856 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008994/0.4887, allocations: 243.8 kB / 0.8562 GB, free: 11.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005856/0.4893, allocations: 346.8 kB / 0.8565 GB, free: 10.75 MB / 410.7 MB Notification: Performance of Backend: time 6.91e-07/0.4893, allocations: 0 / 0.8565 GB, free: 10.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004097/0.4934, allocations: 1.151 MB / 0.8576 GB, free: 9.562 MB / 410.7 MB Notification: Performance of SimCode: time 0.003508/0.497, allocations: 1.831 MB / 0.8594 GB, free: 7.668 MB / 410.7 MB Notification: Performance of Templates: time 0.03429/0.5313, allocations: 12.4 MB / 0.8715 GB, free: 11.36 MB / 426.7 MB