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.443/2.443, allocations: 253.2 MB / 260.6 MB, free: 7.398 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.001382/0.001382, allocations: 178.2 kB / 319.9 MB, free: 3.066 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.025/2.025, allocations: 205.5 MB / 0.5708 GB, free: 15.15 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.001127/0.001126, allocations: 98.78 kB / 0.6751 GB, free: 4.5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.269e-05/2.282e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2004, allocations: 106.3 MB / 0.8887 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.189/1.389, allocations: 381.6 MB / 1.261 GB, free: 3.793 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/1.389, allocations: 84.83 kB / 1.261 GB, free: 3.75 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.439/2.828, allocations: 245.2 MB / 1.501 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.984e-06/2.828, allocations: 0 / 1.501 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.828e-05/2.829, allocations: 20 kB / 1.501 GB, free: 116.7 MB / 0.8698 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.002041/2.831, allocations: 0.9129 MB / 1.502 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/2.831, allocations: 8.031 kB / 1.502 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/2.832, allocations: 183.1 kB / 1.502 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03569/2.868, allocations: 11.39 MB / 1.513 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005559/2.868, allocations: 84.72 kB / 1.513 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.399e-05/2.868, allocations: 27.94 kB / 1.513 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008016/2.869, allocations: 289.5 kB / 1.514 GB, free: 103.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008586/2.87, allocations: 408.7 kB / 1.514 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/2.87, allocations: 3.953 kB / 1.514 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.814e-05/2.87, allocations: 0 / 1.514 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.523e-05/2.87, allocations: 8 kB / 1.514 GB, free: 103.1 MB / 0.8698 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.004015/2.874, allocations: 2.181 MB / 1.516 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007052/2.875, allocations: 258.9 kB / 1.516 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003394/2.875, allocations: 169 kB / 1.516 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003008/2.876, allocations: 340.7 kB / 1.517 GB, free: 99.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004592/2.876, allocations: 250.7 kB / 1.517 GB, free: 99.63 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 3.045e-06/2.876, allocations: 0 / 1.517 GB, free: 99.63 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.001584/2.878, allocations: 466 kB / 1.517 GB, free: 99.17 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/2.878, allocations: 89.09 kB / 1.518 GB, free: 99.07 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005445/2.878, allocations: 365.3 kB / 1.518 GB, free: 98.71 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.83e-05/2.878, allocations: 25.7 kB / 1.518 GB, free: 98.68 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/2.879, allocations: 280.3 kB / 1.518 GB, free: 98.39 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/2.879, allocations: 110.3 kB / 1.518 GB, free: 98.29 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/2.879, allocations: 0 / 1.518 GB, free: 98.29 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.677e-05/2.879, allocations: 358.8 kB / 1.519 GB, free: 97.93 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/2.879, allocations: 124 kB / 1.519 GB, free: 97.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/2.88, allocations: 222.9 kB / 1.519 GB, free: 97.55 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000555/2.88, allocations: 159.7 kB / 1.519 GB, free: 97.39 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/2.88, allocations: 0 / 1.519 GB, free: 97.39 MB / 0.8698 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00146/2.882, allocations: 0.5055 MB / 1.52 GB, free: 96.88 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001715/2.882, allocations: 0.6507 MB / 1.52 GB, free: 96.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/2.882, allocations: 4 kB / 1.52 GB, free: 96.17 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002337/2.882, allocations: 44.83 kB / 1.52 GB, free: 96.12 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007152/2.883, allocations: 87.89 kB / 1.52 GB, free: 96.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005276/2.883, allocations: 0.5952 MB / 1.521 GB, free: 95.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/2.885, allocations: 71.73 kB / 1.521 GB, free: 95.34 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.816e-05/2.885, allocations: 19.98 kB / 1.521 GB, free: 95.32 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/2.885, allocations: 4 kB / 1.521 GB, free: 95.32 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00132/2.886, allocations: 440.1 kB / 1.521 GB, free: 94.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/2.886, allocations: 0 / 1.521 GB, free: 94.89 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002392/2.886, allocations: 44.83 kB / 1.522 GB, free: 94.84 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006806/2.887, allocations: 92.06 kB / 1.522 GB, free: 94.75 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/2.889, allocations: 1.56 MB / 1.523 GB, free: 93.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009755/2.89, allocations: 71.84 kB / 1.523 GB, free: 92.99 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.424e-05/2.89, allocations: 15.98 kB / 1.523 GB, free: 92.98 MB / 0.8698 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.0002145/2.89, allocations: 155.9 kB / 1.523 GB, free: 92.82 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/2.89, allocations: 55.44 kB / 1.523 GB, free: 92.76 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/2.892, allocations: 0.5226 MB / 1.524 GB, free: 92.22 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/2.892, allocations: 4 kB / 1.524 GB, free: 92.22 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/2.892, allocations: 48 / 1.524 GB, free: 92.22 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001197/2.893, allocations: 0.6982 MB / 1.525 GB, free: 91.45 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002638/2.895, allocations: 1.126 MB / 1.526 GB, free: 90.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/2.895, allocations: 0 / 1.526 GB, free: 90.27 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006141/2.896, allocations: 75.98 kB / 1.526 GB, free: 90.19 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001472/2.896, allocations: 36.84 kB / 1.526 GB, free: 90.15 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-05/2.896, allocations: 7.984 kB / 1.526 GB, free: 90.14 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003491/2.897, allocations: 0.5718 MB / 1.526 GB, free: 89.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/2.897, allocations: 11.94 kB / 1.526 GB, free: 89.54 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/2.898, allocations: 0.8282 MB / 1.527 GB, free: 88.66 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004157/2.899, allocations: 176.4 kB / 1.527 GB, free: 88.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/2.899, allocations: 4 kB / 1.527 GB, free: 88.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009538/2.9, allocations: 67.84 kB / 1.527 GB, free: 88.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.567e-05/2.9, allocations: 23.92 kB / 1.527 GB, free: 88.38 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.446e-05/2.9, allocations: 23.98 kB / 1.528 GB, free: 88.35 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004164/2.901, allocations: 290.9 kB / 1.528 GB, free: 88.07 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.51e-07/2.901, allocations: 0 / 1.528 GB, free: 88.07 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001703/2.902, allocations: 367.4 kB / 1.528 GB, free: 87.71 MB / 0.8698 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.001109/2.903, allocations: 423.8 kB / 1.529 GB, free: 87.29 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001742/2.905, allocations: 0.8119 MB / 1.529 GB, free: 86.45 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/2.905, allocations: 4.062 kB / 1.529 GB, free: 86.44 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004769/2.906, allocations: 259.2 kB / 1.53 GB, free: 86.18 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/2.908, allocations: 217.8 kB / 1.53 GB, free: 85.97 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/2.91, allocations: 0.7416 MB / 1.531 GB, free: 85.19 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/2.911, allocations: 0.8908 MB / 1.531 GB, free: 84.27 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001151/2.912, allocations: 148.1 kB / 1.532 GB, free: 84.12 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/2.912, allocations: 39.42 kB / 1.532 GB, free: 84.09 MB / 0.8698 GB Notification: Performance of SimCode: time 8.91e-07/2.912, allocations: 7.938 kB / 1.532 GB, free: 84.08 MB / 0.8698 GB Notification: Performance of Templates: time 0.0289/2.941, allocations: 11.26 MB / 1.543 GB, free: 72.91 MB / 0.8698 GB