Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.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 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.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.553/4.553, allocations: 0.5623 GB / 0.5776 GB, free: 66.95 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002607/0.002607, allocations: 361.5 kB / 0.6446 GB, free: 21.43 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.088/4.088, allocations: 410.7 MB / 1.113 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001835/0.001835, allocations: 172.5 kB / 1.226 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0004926/0.0004929, allocations: 17.94 kB / 1.349 GB, free: 320.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1959, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02175/0.2177, allocations: 19.11 MB / 1.48 GB, free: 201.6 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.008453/0.2262, allocations: 4.907 MB / 1.485 GB, free: 196.7 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006898/0.2269, allocations: 19.81 kB / 1.485 GB, free: 196.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0009989/0.2279, allocations: 279.3 kB / 1.485 GB, free: 196.4 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.002663/0.2306, allocations: 0.833 MB / 1.486 GB, free: 195.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003365/0.234, allocations: 0.8982 MB / 1.487 GB, free: 194.7 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.002498/0.2365, allocations: 1.926 MB / 1.489 GB, free: 192.8 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007028/0.2372, allocations: 400.1 kB / 1.489 GB, free: 192.4 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.2383, allocations: 0.5612 MB / 1.49 GB, free: 191.8 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006791/0.239, allocations: 464.5 kB / 1.49 GB, free: 191.4 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 8.062e-05/0.2391, allocations: 27.94 kB / 1.49 GB, free: 191.4 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001988/0.2411, allocations: 0.7834 MB / 1.491 GB, free: 190.6 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.2412, allocations: 123.5 kB / 1.491 GB, free: 190.5 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.2414, allocations: 147.4 kB / 1.491 GB, free: 190.3 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.2426, allocations: 0.7757 MB / 1.492 GB, free: 189.5 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2426, allocations: 0 / 1.492 GB, free: 189.5 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2427, allocations: 0 / 1.492 GB, free: 189.5 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.2427, allocations: 0 / 1.492 GB, free: 189.5 MB / 0.8073 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.001757/0.2444, allocations: 0.9155 MB / 1.493 GB, free: 188.6 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.2445, allocations: 8.75 kB / 1.493 GB, free: 188.6 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.2459, allocations: 199.7 kB / 1.493 GB, free: 188.4 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.2473, allocations: 0.537 MB / 1.493 GB, free: 187.8 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005632/0.2478, allocations: 90.19 kB / 1.494 GB, free: 187.7 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.2479, allocations: 49.33 kB / 1.494 GB, free: 187.7 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.2494, allocations: 0.4953 MB / 1.494 GB, free: 187.2 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.2494, allocations: 0 / 1.494 GB, free: 187.2 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.279e-05/0.2495, allocations: 16 kB / 1.494 GB, free: 187.1 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/0.2495, allocations: 8 kB / 1.494 GB, free: 187.1 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001622/0.2511, allocations: 432 kB / 1.494 GB, free: 186.7 MB / 0.8073 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.003762/0.2549, allocations: 2.306 MB / 1.497 GB, free: 184.2 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.2566, allocations: 399.6 kB / 1.497 GB, free: 183.8 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008038/0.2574, allocations: 233 kB / 1.497 GB, free: 183.6 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002713/0.2577, allocations: 336.6 kB / 1.498 GB, free: 183.2 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009163/0.2586, allocations: 312.8 kB / 1.498 GB, free: 182.9 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=33): time 2.865e-06/0.2586, allocations: 0 / 1.498 GB, free: 182.9 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33): time 0.003443/0.2621, allocations: 0.8829 MB / 1.499 GB, free: 181.9 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.2621, allocations: 89.05 kB / 1.499 GB, free: 181.8 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006488/0.2628, allocations: 490.9 kB / 1.499 GB, free: 181.4 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.261e-05/0.2629, allocations: 37.7 kB / 1.499 GB, free: 181.3 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.2631, allocations: 276.4 kB / 1.5 GB, free: 181 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.2632, allocations: 102.5 kB / 1.5 GB, free: 180.9 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.2632, allocations: 4 kB / 1.5 GB, free: 180.9 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.392e-05/0.2633, allocations: 362.8 kB / 1.5 GB, free: 180.6 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007263/0.2641, allocations: 183.9 kB / 1.5 GB, free: 180.4 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007952/0.2649, allocations: 261.3 kB / 1.501 GB, free: 180.1 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007598/0.2657, allocations: 237.5 kB / 1.501 GB, free: 179.9 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2657, allocations: 0 / 1.501 GB, free: 179.9 MB / 0.8073 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002143/0.2678, allocations: 0.641 MB / 1.501 GB, free: 179.2 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.199e-05/0.2679, allocations: 162.5 kB / 1.502 GB, free: 179 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.268, allocations: 0 / 1.502 GB, free: 179 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004688/0.2684, allocations: 72.8 kB / 1.502 GB, free: 178.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006487/0.2691, allocations: 79.89 kB / 1.502 GB, free: 178.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004631/0.2696, allocations: 0.5992 MB / 1.502 GB, free: 178.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008744/0.2705, allocations: 79.61 kB / 1.502 GB, free: 178.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.915e-05/0.2705, allocations: 19.98 kB / 1.502 GB, free: 178.1 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.184e-06/0.2706, allocations: 4 kB / 1.502 GB, free: 178.1 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001897/0.2725, allocations: 0.5565 MB / 1.503 GB, free: 177.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2725, allocations: 0 / 1.503 GB, free: 177.6 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002031/0.2727, allocations: 56.72 kB / 1.503 GB, free: 177.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006157/0.2733, allocations: 84.05 kB / 1.503 GB, free: 177.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001549/0.2749, allocations: 1.635 MB / 1.505 GB, free: 175.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008356/0.2757, allocations: 75.8 kB / 1.505 GB, free: 175.6 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.267e-05/0.2758, allocations: 19.98 kB / 1.505 GB, free: 175.6 MB / 0.8073 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.0003577/0.2762, allocations: 299.3 kB / 1.505 GB, free: 175.3 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.2763, allocations: 55.34 kB / 1.505 GB, free: 175.2 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002168/0.2785, allocations: 0.6611 MB / 1.506 GB, free: 174.5 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001868/0.2804, allocations: 0.8176 MB / 1.507 GB, free: 173.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2804, allocations: 0 / 1.507 GB, free: 173.6 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003002/0.2807, allocations: 188.3 kB / 1.507 GB, free: 173.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.2808, allocations: 11.94 kB / 1.507 GB, free: 173.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008947/0.2817, allocations: 63.84 kB / 1.507 GB, free: 173.4 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.551e-05/0.2818, allocations: 31.86 kB / 1.507 GB, free: 173.3 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002446/0.2843, allocations: 0.7756 MB / 1.508 GB, free: 172.5 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002708/0.287, allocations: 1.004 MB / 1.509 GB, free: 171.5 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000794/0.2878, allocations: 246.3 kB / 1.509 GB, free: 171.3 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004783/0.2883, allocations: 338.9 kB / 1.509 GB, free: 170.9 MB / 0.8073 GB Notification: Performance of Backend: time 7.71e-07/0.2883, allocations: 4 kB / 1.509 GB, free: 170.9 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.003665/0.292, allocations: 1.158 MB / 1.51 GB, free: 169.7 MB / 0.8073 GB Notification: Performance of SimCode: time 0.002826/0.2949, allocations: 1.835 MB / 1.512 GB, free: 167.8 MB / 0.8073 GB Notification: Performance of Templates: time 0.02874/0.3236, allocations: 12.41 MB / 1.524 GB, free: 155.6 MB / 0.8073 GB