Running: ./testmodel.py --libraries=/home/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 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.29/2.29, allocations: 248.5 MB / 261.1 MB, free: 6.051 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001519/0.001518, allocations: 182.6 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.924/1.924, allocations: 205.2 MB / 0.571 GB, free: 11.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 97.92 kB / 0.6754 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.815e-05/3.842e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2095, allocations: 106.2 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.186/1.395, allocations: 381.4 MB / 1.263 GB, free: 1.984 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/1.396, allocations: 85.17 kB / 1.263 GB, free: 1.945 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.385/2.781, allocations: 246.9 MB / 1.504 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.714e-06/2.781, allocations: 0 / 1.504 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.814e-05/2.781, allocations: 19.98 kB / 1.504 GB, free: 110.8 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.001997/2.783, allocations: 0.9169 MB / 1.505 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/2.783, allocations: 16.03 kB / 1.505 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001426/2.783, allocations: 78.47 kB / 1.505 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/2.785, allocations: 175 kB / 1.505 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03614/2.821, allocations: 11.42 MB / 1.517 GB, free: 97.95 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005585/2.822, allocations: 96.72 kB / 1.517 GB, free: 97.86 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/2.822, allocations: 40 kB / 1.517 GB, free: 97.82 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/2.823, allocations: 450.3 kB / 1.517 GB, free: 97.36 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/2.823, allocations: 7.953 kB / 1.517 GB, free: 97.35 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.545e-05/2.823, allocations: 19.94 kB / 1.517 GB, free: 97.33 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/2.823, allocations: 11.98 kB / 1.517 GB, free: 97.32 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008203/2.824, allocations: 311 kB / 1.518 GB, free: 97.01 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.004235/2.828, allocations: 2.268 MB / 1.52 GB, free: 94.53 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007258/2.829, allocations: 267.1 kB / 1.52 GB, free: 94.26 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003851/2.829, allocations: 181 kB / 1.52 GB, free: 94.08 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000308/2.829, allocations: 348.7 kB / 1.521 GB, free: 93.67 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005182/2.83, allocations: 255.9 kB / 1.521 GB, free: 93.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 2.876e-06/2.83, allocations: 3.938 kB / 1.521 GB, free: 93.39 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.001386/2.831, allocations: 494.3 kB / 1.521 GB, free: 92.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/2.831, allocations: 85.11 kB / 1.521 GB, free: 92.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006749/2.832, allocations: 416.9 kB / 1.522 GB, free: 92.38 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.731e-05/2.832, allocations: 33.7 kB / 1.522 GB, free: 92.34 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/2.832, allocations: 288.4 kB / 1.522 GB, free: 92.06 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/2.833, allocations: 110.4 kB / 1.522 GB, free: 91.95 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/2.833, allocations: 4 kB / 1.522 GB, free: 91.95 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001019/2.833, allocations: 366.7 kB / 1.522 GB, free: 91.58 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003187/2.833, allocations: 128 kB / 1.523 GB, free: 91.45 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003914/2.834, allocations: 234.8 kB / 1.523 GB, free: 91.18 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003617/2.834, allocations: 169.5 kB / 1.523 GB, free: 91.01 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/2.834, allocations: 7.938 kB / 1.523 GB, free: 91 MB / 0.8698 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001327/2.835, allocations: 0.5232 MB / 1.524 GB, free: 90.46 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000163/2.835, allocations: 0.6492 MB / 1.524 GB, free: 89.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/2.835, allocations: 96 / 1.524 GB, free: 89.76 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000284/2.836, allocations: 60.77 kB / 1.524 GB, free: 89.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006828/2.836, allocations: 91.88 kB / 1.524 GB, free: 89.61 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005098/2.837, allocations: 0.5874 MB / 1.525 GB, free: 89 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/2.838, allocations: 75.73 kB / 1.525 GB, free: 88.92 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.924e-05/2.838, allocations: 23.98 kB / 1.525 GB, free: 88.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/2.838, allocations: 11.89 kB / 1.525 GB, free: 88.89 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001224/2.839, allocations: 481.9 kB / 1.525 GB, free: 88.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/2.839, allocations: 0 / 1.525 GB, free: 88.41 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002574/2.84, allocations: 48.83 kB / 1.525 GB, free: 88.36 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006532/2.84, allocations: 88.08 kB / 1.526 GB, free: 88.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/2.842, allocations: 1.619 MB / 1.527 GB, free: 86.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/2.843, allocations: 87.72 kB / 1.527 GB, free: 86.41 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.501e-05/2.843, allocations: 23.98 kB / 1.527 GB, free: 86.39 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.0002285/2.844, allocations: 157.7 kB / 1.527 GB, free: 86.23 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/2.844, allocations: 63.31 kB / 1.527 GB, free: 86.16 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/2.845, allocations: 0.5751 MB / 1.528 GB, free: 85.57 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/2.845, allocations: 0 / 1.528 GB, free: 85.57 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/2.845, allocations: 4 kB / 1.528 GB, free: 85.57 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001123/2.846, allocations: 0.7208 MB / 1.529 GB, free: 84.77 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002623/2.849, allocations: 1.229 MB / 1.53 GB, free: 83.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/2.849, allocations: 4 kB / 1.53 GB, free: 83.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006332/2.85, allocations: 68.03 kB / 1.53 GB, free: 83.39 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001931/2.85, allocations: 44.78 kB / 1.53 GB, free: 83.35 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.293e-05/2.85, allocations: 15.98 kB / 1.53 GB, free: 83.33 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003661/2.85, allocations: 0.5719 MB / 1.531 GB, free: 82.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/2.85, allocations: 64 / 1.531 GB, free: 82.73 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/2.852, allocations: 0.8872 MB / 1.531 GB, free: 81.79 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004072/2.853, allocations: 188.3 kB / 1.532 GB, free: 81.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/2.853, allocations: 12 kB / 1.532 GB, free: 81.58 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/2.854, allocations: 67.84 kB / 1.532 GB, free: 81.51 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.692e-05/2.854, allocations: 23.97 kB / 1.532 GB, free: 81.49 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.751e-05/2.854, allocations: 19.98 kB / 1.532 GB, free: 81.47 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005345/2.855, allocations: 341.6 kB / 1.532 GB, free: 81.14 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.6e-07/2.855, allocations: 0 / 1.532 GB, free: 81.14 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001767/2.856, allocations: 383.4 kB / 1.532 GB, free: 80.77 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.002862/2.859, allocations: 1.901 MB / 1.534 GB, free: 78.82 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001891/2.861, allocations: 0.8454 MB / 1.535 GB, free: 77.93 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/2.861, allocations: 0 / 1.535 GB, free: 77.93 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005324/2.862, allocations: 272.2 kB / 1.535 GB, free: 77.66 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002281/2.864, allocations: 244 kB / 1.536 GB, free: 77.42 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002939/2.867, allocations: 0.9335 MB / 1.537 GB, free: 76.44 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/2.867, allocations: 0.8911 MB / 1.537 GB, free: 75.52 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001125/2.869, allocations: 160.2 kB / 1.538 GB, free: 75.36 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003248/2.869, allocations: 183.4 kB / 1.538 GB, free: 75.18 MB / 0.8698 GB Notification: Performance of SimCode: time 1.282e-06/2.869, allocations: 0 / 1.538 GB, free: 75.18 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07831/2.947, allocations: 18.78 MB / 1.556 GB, free: 56.61 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002699/2.948, allocations: 229 kB / 1.556 GB, free: 56.35 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.374/6.321, allocations: 7.938 kB / 1.556 GB, free: 56.34 MB / 0.8698 GB