Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.172/2.172, allocations: 252.6 MB / 265.2 MB, free: 5.781 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001417/0.001417, allocations: 171.9 kB / 324.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.964/1.964, allocations: 205.4 MB / 0.5754 GB, free: 10.42 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001142/0.001141, allocations: 93.38 kB / 0.6797 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.073e-05/4.091e-05, allocations: 12 kB / 0.7911 GB, free: 96.56 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2017, allocations: 106.2 MB / 0.8949 GB, free: 6.227 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.749/1.95, allocations: 381.4 MB / 1.267 GB, free: 244.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003235/1.951, allocations: 84.06 kB / 1.267 GB, free: 244.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.8117/2.762, allocations: 246.9 MB / 1.509 GB, free: 57.88 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.264e-06/2.762, allocations: 0 / 1.509 GB, free: 57.88 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.182e-05/2.763, allocations: 19.98 kB / 1.509 GB, free: 57.86 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002027/2.765, allocations: 0.9128 MB / 1.509 GB, free: 56.89 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/2.765, allocations: 12.03 kB / 1.509 GB, free: 56.88 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/2.766, allocations: 175.1 kB / 1.51 GB, free: 56.71 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03554/2.802, allocations: 11.43 MB / 1.521 GB, free: 45.11 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005797/2.802, allocations: 96.72 kB / 1.521 GB, free: 45.02 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/2.802, allocations: 36 kB / 1.521 GB, free: 44.98 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/2.803, allocations: 454.3 kB / 1.521 GB, free: 44.51 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/2.803, allocations: 0 / 1.521 GB, free: 44.51 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.939e-05/2.804, allocations: 23.95 kB / 1.521 GB, free: 44.49 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/2.804, allocations: 12 kB / 1.521 GB, free: 44.48 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007796/2.804, allocations: 319 kB / 1.522 GB, free: 44.16 MB / 0.8542 GB Warning: The model contains alias variables with conflicting start and/or 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.004183/2.809, allocations: 2.256 MB / 1.524 GB, free: 41.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007254/2.809, allocations: 275.1 kB / 1.524 GB, free: 41.42 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004025/2.81, allocations: 177 kB / 1.524 GB, free: 41.25 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003139/2.81, allocations: 336.6 kB / 1.525 GB, free: 40.84 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005218/2.811, allocations: 261.6 kB / 1.525 GB, free: 40.57 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=33): time 3.947e-06/2.811, allocations: 0 / 1.525 GB, free: 40.57 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33): time 0.001348/2.812, allocations: 0.4944 MB / 1.525 GB, free: 40.06 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/2.812, allocations: 89.11 kB / 1.525 GB, free: 39.96 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006763/2.813, allocations: 420.9 kB / 1.526 GB, free: 39.54 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.858e-05/2.813, allocations: 33.7 kB / 1.526 GB, free: 39.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/2.813, allocations: 284.4 kB / 1.526 GB, free: 39.21 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/2.813, allocations: 110.3 kB / 1.526 GB, free: 39.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/2.813, allocations: 8 kB / 1.526 GB, free: 39.09 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000105/2.813, allocations: 370.7 kB / 1.527 GB, free: 38.72 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/2.814, allocations: 120 kB / 1.527 GB, free: 38.61 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003945/2.814, allocations: 231.2 kB / 1.527 GB, free: 38.34 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/2.814, allocations: 179.3 kB / 1.527 GB, free: 38.16 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/2.814, allocations: 0 / 1.527 GB, free: 38.16 MB / 0.8542 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001262/2.816, allocations: 0.5344 MB / 1.528 GB, free: 37.61 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001639/2.816, allocations: 0.6468 MB / 1.528 GB, free: 36.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/2.816, allocations: 4 kB / 1.528 GB, free: 36.91 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002818/2.816, allocations: 52.84 kB / 1.528 GB, free: 36.85 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006804/2.817, allocations: 83.88 kB / 1.528 GB, free: 36.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004984/2.817, allocations: 0.5915 MB / 1.529 GB, free: 36.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/2.819, allocations: 83.59 kB / 1.529 GB, free: 36.07 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.981e-05/2.819, allocations: 23.98 kB / 1.529 GB, free: 36.05 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/2.819, allocations: 4 kB / 1.529 GB, free: 36.04 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001197/2.82, allocations: 478.3 kB / 1.53 GB, free: 35.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/2.82, allocations: 0 / 1.53 GB, free: 35.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002475/2.82, allocations: 52.77 kB / 1.53 GB, free: 35.51 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006447/2.821, allocations: 88.03 kB / 1.53 GB, free: 35.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/2.823, allocations: 1.619 MB / 1.531 GB, free: 33.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/2.824, allocations: 83.69 kB / 1.531 GB, free: 33.57 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.815e-05/2.824, allocations: 20 kB / 1.531 GB, free: 33.55 MB / 0.8542 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 () * 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.0002412/2.824, allocations: 163.8 kB / 1.532 GB, free: 33.38 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/2.824, allocations: 55.34 kB / 1.532 GB, free: 33.33 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/2.826, allocations: 0.583 MB / 1.532 GB, free: 32.73 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/2.826, allocations: 11.97 kB / 1.532 GB, free: 32.71 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/2.826, allocations: 0 / 1.532 GB, free: 32.71 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001107/2.827, allocations: 0.7117 MB / 1.533 GB, free: 31.93 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002554/2.829, allocations: 1.233 MB / 1.534 GB, free: 30.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/2.829, allocations: 0 / 1.534 GB, free: 30.62 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006594/2.83, allocations: 72.03 kB / 1.534 GB, free: 30.55 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001865/2.83, allocations: 40.84 kB / 1.534 GB, free: 30.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.655e-05/2.83, allocations: 8 kB / 1.534 GB, free: 30.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003593/2.831, allocations: 0.5796 MB / 1.535 GB, free: 29.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/2.831, allocations: 0 / 1.535 GB, free: 29.89 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/2.832, allocations: 0.891 MB / 1.536 GB, free: 28.95 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003876/2.833, allocations: 180.3 kB / 1.536 GB, free: 28.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/2.833, allocations: 16.02 kB / 1.536 GB, free: 28.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009999/2.834, allocations: 63.94 kB / 1.536 GB, free: 28.67 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.363e-05/2.834, allocations: 23.91 kB / 1.536 GB, free: 28.65 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-05/2.834, allocations: 23.98 kB / 1.536 GB, free: 28.62 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005279/2.835, allocations: 337.5 kB / 1.536 GB, free: 28.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.71e-07/2.835, allocations: 0 / 1.536 GB, free: 28.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001701/2.836, allocations: 387.3 kB / 1.537 GB, free: 27.92 MB / 0.8542 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) * 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.001009/2.837, allocations: 426.2 kB / 1.537 GB, free: 27.51 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001903/2.839, allocations: 0.8562 MB / 1.538 GB, free: 26.62 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/2.839, allocations: 3.938 kB / 1.538 GB, free: 26.61 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005243/2.84, allocations: 272 kB / 1.538 GB, free: 26.34 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002207/2.842, allocations: 234.2 kB / 1.538 GB, free: 26.11 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/2.844, allocations: 0.7722 MB / 1.539 GB, free: 25.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/2.845, allocations: 0.8911 MB / 1.54 GB, free: 24.38 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001134/2.846, allocations: 160.2 kB / 1.54 GB, free: 24.23 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/2.846, allocations: 39.42 kB / 1.54 GB, free: 24.19 MB / 0.8542 GB Notification: Performance of SimCode: time 1.212e-06/2.846, allocations: 0 / 1.54 GB, free: 24.19 MB / 0.8542 GB Notification: Performance of Templates: time 0.03268/2.879, allocations: 13.22 MB / 1.553 GB, free: 11.06 MB / 0.8542 GB