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.463/2.463, allocations: 248.7 MB / 256.2 MB, free: 7.09 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.001518/0.001517, allocations: 183.4 kB / 315.4 MB, free: 3.992 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.114/2.114, allocations: 205.3 MB / 0.5662 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 97.97 kB / 0.6704 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.557e-05/2.568e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1967, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.212/1.409, allocations: 381.7 MB / 1.257 GB, free: 5.352 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/1.409, allocations: 87.52 kB / 1.257 GB, free: 5.309 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.388/2.798, allocations: 245.2 MB / 1.496 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.356e-06/2.798, allocations: 3.984 kB / 1.496 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.25e-05/2.798, allocations: 28.05 kB / 1.496 GB, free: 118.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.002041/2.8, allocations: 0.9091 MB / 1.497 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/2.8, allocations: 8.031 kB / 1.497 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/2.801, allocations: 187 kB / 1.498 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03571/2.837, allocations: 11.39 MB / 1.509 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005503/2.838, allocations: 88.64 kB / 1.509 GB, free: 106 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/2.838, allocations: 24 kB / 1.509 GB, free: 106 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008206/2.839, allocations: 289.5 kB / 1.509 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008727/2.84, allocations: 404.8 kB / 1.509 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/2.84, allocations: 7.891 kB / 1.509 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.973e-05/2.84, allocations: 0 / 1.509 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/2.84, allocations: 16 kB / 1.509 GB, free: 105.3 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.004176/2.844, allocations: 2.181 MB / 1.512 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006921/2.845, allocations: 262.9 kB / 1.512 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003546/2.845, allocations: 177 kB / 1.512 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003017/2.845, allocations: 336.6 kB / 1.512 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004663/2.846, allocations: 246.7 kB / 1.513 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 3.567e-06/2.846, allocations: 0 / 1.513 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.001636/2.847, allocations: 470 kB / 1.513 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/2.848, allocations: 85.11 kB / 1.513 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005644/2.848, allocations: 365.4 kB / 1.513 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.395e-05/2.848, allocations: 29.7 kB / 1.513 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/2.848, allocations: 280.2 kB / 1.514 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/2.849, allocations: 102.5 kB / 1.514 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/2.849, allocations: 0 / 1.514 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.683e-05/2.849, allocations: 358.8 kB / 1.514 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003201/2.849, allocations: 124 kB / 1.514 GB, free: 99.96 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003443/2.849, allocations: 222.9 kB / 1.514 GB, free: 99.71 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006126/2.85, allocations: 159.8 kB / 1.515 GB, free: 99.55 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/2.85, allocations: 3.938 kB / 1.515 GB, free: 99.55 MB / 0.8698 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001512/2.852, allocations: 0.4937 MB / 1.515 GB, free: 99.04 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001726/2.852, allocations: 0.653 MB / 1.516 GB, free: 98.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/2.852, allocations: 0 / 1.516 GB, free: 98.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002323/2.852, allocations: 52.84 kB / 1.516 GB, free: 98.28 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006684/2.853, allocations: 83.88 kB / 1.516 GB, free: 98.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005475/2.853, allocations: 0.5992 MB / 1.516 GB, free: 97.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/2.854, allocations: 75.73 kB / 1.517 GB, free: 97.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.538e-05/2.854, allocations: 19.98 kB / 1.517 GB, free: 97.48 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/2.855, allocations: 4 kB / 1.517 GB, free: 97.48 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001369/2.856, allocations: 432.3 kB / 1.517 GB, free: 97.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/2.856, allocations: 192 / 1.517 GB, free: 97.05 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002427/2.856, allocations: 48.83 kB / 1.517 GB, free: 97 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006647/2.857, allocations: 87.88 kB / 1.517 GB, free: 96.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/2.858, allocations: 1.556 MB / 1.519 GB, free: 95.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/2.86, allocations: 71.98 kB / 1.519 GB, free: 95.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.172e-05/2.86, allocations: 27.91 kB / 1.519 GB, free: 95.13 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.000224/2.86, allocations: 159.1 kB / 1.519 GB, free: 94.96 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001448/2.861, allocations: 485.4 kB / 1.519 GB, free: 94.48 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/2.861, allocations: 55.34 kB / 1.519 GB, free: 94.43 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/2.863, allocations: 0.511 MB / 1.52 GB, free: 93.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/2.863, allocations: 8 kB / 1.52 GB, free: 93.89 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/2.863, allocations: 0 / 1.52 GB, free: 93.89 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001228/2.864, allocations: 0.6804 MB / 1.521 GB, free: 93.14 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002736/2.867, allocations: 1.126 MB / 1.522 GB, free: 91.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/2.867, allocations: 0 / 1.522 GB, free: 91.96 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006221/2.868, allocations: 67.89 kB / 1.522 GB, free: 91.89 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000143/2.868, allocations: 40.94 kB / 1.522 GB, free: 91.85 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-05/2.868, allocations: 11.98 kB / 1.522 GB, free: 91.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003788/2.868, allocations: 0.5757 MB / 1.522 GB, free: 91.24 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/2.868, allocations: 0 / 1.522 GB, free: 91.24 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/2.87, allocations: 0.8385 MB / 1.523 GB, free: 90.35 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000413/2.871, allocations: 176.4 kB / 1.523 GB, free: 90.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/2.871, allocations: 4 kB / 1.523 GB, free: 90.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009607/2.872, allocations: 71.84 kB / 1.523 GB, free: 90.09 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.692e-05/2.872, allocations: 19.97 kB / 1.523 GB, free: 90.07 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.986e-05/2.872, allocations: 27.92 kB / 1.523 GB, free: 90.04 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004392/2.872, allocations: 282.9 kB / 1.524 GB, free: 89.77 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.41e-07/2.872, allocations: 0 / 1.524 GB, free: 89.77 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001824/2.874, allocations: 367.4 kB / 1.524 GB, free: 89.41 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.002918/2.877, allocations: 1.869 MB / 1.526 GB, free: 87.49 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00177/2.879, allocations: 0.8112 MB / 1.527 GB, free: 86.64 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/2.879, allocations: 0 / 1.527 GB, free: 86.64 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005018/2.88, allocations: 264.2 kB / 1.527 GB, free: 86.37 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/2.882, allocations: 221.7 kB / 1.527 GB, free: 86.16 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/2.885, allocations: 0.8984 MB / 1.528 GB, free: 85.21 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/2.885, allocations: 0.8908 MB / 1.529 GB, free: 84.29 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001134/2.886, allocations: 156.1 kB / 1.529 GB, free: 84.13 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003218/2.887, allocations: 183.4 kB / 1.529 GB, free: 83.95 MB / 0.8698 GB Notification: Performance of SimCode: time 1.002e-06/2.887, allocations: 0 / 1.529 GB, free: 83.95 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06782/2.955, allocations: 15.87 MB / 1.545 GB, free: 68.16 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002564/2.955, allocations: 182.4 kB / 1.545 GB, free: 67.96 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.127/6.082, allocations: 4 kB / 1.545 GB, free: 67.96 MB / 0.8698 GB