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 2.744/2.744, allocations: 287.9 MB / 302.9 MB, free: 8.309 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001405/0.001404, allocations: 182.7 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 95.5 kB / 0.7434 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000488/0.0004883, allocations: 11.72 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.193, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.01965/0.2127, allocations: 17.49 MB / 0.9958 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007476/0.2202, allocations: 4.615 MB / 1 GB, free: 6.012 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008164/0.2211, allocations: 19.81 kB / 1 GB, free: 5.992 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009572/0.222, allocations: 298.6 kB / 1.001 GB, free: 5.699 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002704/0.2248, allocations: 0.7907 MB / 1.001 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003213/0.228, allocations: 0.9011 MB / 1.002 GB, free: 4.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00188/0.2299, allocations: 1.028 MB / 1.003 GB, free: 2.988 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006582/0.2306, allocations: 399.4 kB / 1.004 GB, free: 2.586 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.2316, allocations: 0.5334 MB / 1.004 GB, free: 2.051 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004967/0.2321, allocations: 330.6 kB / 1.005 GB, free: 1.727 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.2323, allocations: 24 kB / 1.005 GB, free: 1.703 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001953/0.2343, allocations: 0.8307 MB / 1.005 GB, free: 0.8711 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.2345, allocations: 111.6 kB / 1.005 GB, free: 0.7617 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002272/0.2347, allocations: 145.3 kB / 1.006 GB, free: 0.6133 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.2362, allocations: 0.7796 MB / 1.006 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.584e-06/0.2362, allocations: 3.938 kB / 1.006 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.618e-06/0.2362, allocations: 3.938 kB / 1.006 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.2362, allocations: 4 kB / 1.006 GB, free: 15.82 MB / 0.6355 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.00196/0.2382, allocations: 0.9052 MB / 1.007 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.2383, allocations: 8.031 kB / 1.007 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.2394, allocations: 199 kB / 1.007 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.2406, allocations: 0.5065 MB / 1.008 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004223/0.241, allocations: 92.92 kB / 1.008 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.791e-05/0.2411, allocations: 40 kB / 1.008 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.2425, allocations: 0.496 MB / 1.009 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.2426, allocations: 0 / 1.009 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.22e-05/0.2427, allocations: 12 kB / 1.009 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.314e-05/0.2427, allocations: 15.98 kB / 1.009 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.2441, allocations: 426.6 kB / 1.009 GB, free: 13.02 MB / 0.6355 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.00514/0.2493, allocations: 2.316 MB / 1.011 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002385/0.2517, allocations: 394.9 kB / 1.012 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005899/0.2524, allocations: 352.7 kB / 1.012 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001403/0.2538, allocations: 306.6 kB / 1.012 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=33): time 6.72e-06/0.2539, allocations: 0 / 1.012 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33): time 0.004992/0.2589, allocations: 0.9673 MB / 1.013 GB, free: 8.336 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.259, allocations: 85.11 kB / 1.013 GB, free: 8.234 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/0.2606, allocations: 0.4911 MB / 1.014 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001335/0.2607, allocations: 37.7 kB / 1.014 GB, free: 7.691 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004401/0.2612, allocations: 276.4 kB / 1.014 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000218/0.2614, allocations: 106.5 kB / 1.014 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.045e-05/0.2615, allocations: 4 kB / 1.014 GB, free: 7.305 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002997/0.2618, allocations: 362.8 kB / 1.015 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000991/0.2628, allocations: 183.9 kB / 1.015 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.264, allocations: 265.2 kB / 1.015 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.2652, allocations: 225.5 kB / 1.015 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/0.2652, allocations: 4 kB / 1.015 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.003246/0.2685, allocations: 0.6321 MB / 1.016 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004169/0.269, allocations: 0.6414 MB / 1.016 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.269, allocations: 0 / 1.016 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004386/0.2694, allocations: 80.67 kB / 1.016 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005034/0.2699, allocations: 79.89 kB / 1.017 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006845/0.2707, allocations: 0.6069 MB / 1.017 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007615/0.2714, allocations: 75.77 kB / 1.017 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.028e-05/0.2715, allocations: 19.98 kB / 1.017 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.2716, allocations: 4 kB / 1.017 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001792/0.2734, allocations: 0.5641 MB / 1.018 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.51e-06/0.2734, allocations: 3.953 kB / 1.018 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002282/0.2736, allocations: 60.92 kB / 1.018 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004651/0.2741, allocations: 71.95 kB / 1.018 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/0.2763, allocations: 1.634 MB / 1.02 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007447/0.2771, allocations: 79.7 kB / 1.02 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.599e-05/0.2772, allocations: 19.98 kB / 1.02 GB, free: 1.418 MB / 0.6355 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.0004811/0.2777, allocations: 294.7 kB / 1.02 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.2778, allocations: 55.34 kB / 1.02 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002009/0.2799, allocations: 0.6689 MB / 1.021 GB, free: 376 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.2799, allocations: 4 kB / 1.021 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.479e-06/0.2799, allocations: 0 / 1.021 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001902/0.2818, allocations: 0.817 MB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003323/0.2852, allocations: 1.322 MB / 1.023 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.2852, allocations: 0 / 1.023 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004679/0.2857, allocations: 76.03 kB / 1.023 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001959/0.2859, allocations: 32.84 kB / 1.023 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.115e-05/0.286, allocations: 15.98 kB / 1.023 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005652/0.2866, allocations: 0.5796 MB / 1.023 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.2866, allocations: 0 / 1.023 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002801/0.2894, allocations: 1.04 MB / 1.024 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004387/0.2899, allocations: 204.1 kB / 1.025 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.29, allocations: 11.98 kB / 1.025 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007312/0.2908, allocations: 60.02 kB / 1.025 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.516e-05/0.2909, allocations: 27.91 kB / 1.025 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-05/0.2909, allocations: 19.98 kB / 1.025 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006055/0.2915, allocations: 358.8 kB / 1.025 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.59e-07/0.2916, allocations: 0 / 1.025 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001489/0.2931, allocations: 343.5 kB / 1.025 GB, free: 11.23 MB / 0.6511 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.0008435/0.2939, allocations: 313.8 kB / 1.026 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002915/0.2969, allocations: 0.994 MB / 1.027 GB, free: 9.891 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.986e-06/0.2969, allocations: 0 / 1.027 GB, free: 9.891 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009389/0.2979, allocations: 339.3 kB / 1.027 GB, free: 9.547 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/0.2995, allocations: 239.1 kB / 1.027 GB, free: 9.316 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003103/0.3026, allocations: 1.336 MB / 1.029 GB, free: 7.941 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006705/0.3033, allocations: 0.894 MB / 1.029 GB, free: 7.02 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008237/0.3042, allocations: 132.2 kB / 1.029 GB, free: 6.887 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/0.3044, allocations: 51.41 kB / 1.03 GB, free: 6.836 MB / 0.6511 GB Notification: Performance of SimCode: time 1.683e-06/0.3044, allocations: 0 / 1.03 GB, free: 6.836 MB / 0.6511 GB Notification: Performance of Templates: time 0.02877/0.3332, allocations: 10.93 MB / 1.04 GB, free: 12.02 MB / 0.6667 GB