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.223/2.223, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001533/0.001533, allocations: 186.8 kB / 325.5 MB, free: 2.891 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.301/2.301, allocations: 205.4 MB / 0.5764 GB, free: 20.84 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.001189/0.001189, allocations: 99.09 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004677/0.0004678, allocations: 12.06 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.215, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.164/1.379, allocations: 381.5 MB / 1.271 GB, free: 4.441 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/1.379, allocations: 91.52 kB / 1.271 GB, free: 4.391 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.444/2.824, allocations: 247.6 MB / 1.513 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.615e-06/2.824, allocations: 192 / 1.513 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.673e-05/2.824, allocations: 25.19 kB / 1.513 GB, free: 243.7 MB / 0.8855 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.002677/2.827, allocations: 1.011 MB / 1.514 GB, free: 242.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/2.827, allocations: 8.031 kB / 1.514 GB, free: 242.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001607/2.827, allocations: 86.45 kB / 1.514 GB, free: 242.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/2.828, allocations: 175.1 kB / 1.515 GB, free: 242.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03537/2.864, allocations: 11.51 MB / 1.526 GB, free: 230.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005874/2.864, allocations: 100.9 kB / 1.526 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/2.864, allocations: 40 kB / 1.526 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/2.866, allocations: 0.4929 MB / 1.526 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/2.866, allocations: 0 / 1.526 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-05/2.866, allocations: 20 kB / 1.526 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/2.866, allocations: 11.95 kB / 1.526 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/2.868, allocations: 422.6 kB / 1.527 GB, free: 229.8 MB / 0.8855 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.004279/2.872, allocations: 2.269 MB / 1.529 GB, free: 227.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/2.874, allocations: 390.9 kB / 1.529 GB, free: 226.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003221/2.874, allocations: 340.7 kB / 1.53 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009766/2.875, allocations: 308.3 kB / 1.53 GB, free: 226.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 3.106e-06/2.875, allocations: 0 / 1.53 GB, free: 226.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33): time 0.003512/2.879, allocations: 0.9618 MB / 1.531 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/2.879, allocations: 89.08 kB / 1.531 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007108/2.879, allocations: 426.2 kB / 1.531 GB, free: 224.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.419e-05/2.879, allocations: 33.7 kB / 1.531 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/2.88, allocations: 284.4 kB / 1.532 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/2.88, allocations: 106.4 kB / 1.532 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/2.88, allocations: 8 kB / 1.532 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001098/2.88, allocations: 366.8 kB / 1.532 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007598/2.881, allocations: 175.9 kB / 1.532 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008179/2.882, allocations: 283.6 kB / 1.533 GB, free: 223.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008061/2.882, allocations: 229.4 kB / 1.533 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.872e-06/2.882, allocations: 3.953 kB / 1.533 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002245/2.885, allocations: 0.6248 MB / 1.533 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000173/2.885, allocations: 0.6545 MB / 1.534 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/2.885, allocations: 4 kB / 1.534 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002889/2.885, allocations: 60.73 kB / 1.534 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006594/2.886, allocations: 79.89 kB / 1.534 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005012/2.886, allocations: 0.5993 MB / 1.535 GB, free: 221 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/2.888, allocations: 87.53 kB / 1.535 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.662e-05/2.888, allocations: 16 kB / 1.535 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/2.888, allocations: 4 kB / 1.535 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002048/2.89, allocations: 0.5722 MB / 1.536 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/2.89, allocations: 0 / 1.536 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002507/2.89, allocations: 53.08 kB / 1.536 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000637/2.891, allocations: 87.81 kB / 1.536 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/2.892, allocations: 1.631 MB / 1.537 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/2.894, allocations: 83.69 kB / 1.537 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.637e-05/2.894, allocations: 20.17 kB / 1.537 GB, free: 218.3 MB / 0.8855 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.0004899/2.894, allocations: 297.3 kB / 1.538 GB, free: 218 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/2.894, allocations: 55.34 kB / 1.538 GB, free: 217.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002331/2.897, allocations: 0.6838 MB / 1.538 GB, free: 217.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/2.897, allocations: 4 kB / 1.538 GB, free: 217.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/2.897, allocations: 4 kB / 1.538 GB, free: 217.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002031/2.899, allocations: 0.8248 MB / 1.539 GB, free: 216.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003635/2.902, allocations: 1.326 MB / 1.54 GB, free: 214.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/2.902, allocations: 0 / 1.54 GB, free: 214.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006634/2.903, allocations: 71.98 kB / 1.541 GB, free: 214.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001975/2.903, allocations: 44.83 kB / 1.541 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.148e-05/2.903, allocations: 11.94 kB / 1.541 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003986/2.904, allocations: 0.5797 MB / 1.541 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/2.904, allocations: 0 / 1.541 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003131/2.907, allocations: 1.047 MB / 1.542 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004813/2.907, allocations: 184.4 kB / 1.542 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/2.908, allocations: 15.95 kB / 1.542 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009758/2.909, allocations: 63.94 kB / 1.542 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.604e-05/2.909, allocations: 15.97 kB / 1.542 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.861e-05/2.909, allocations: 23.98 kB / 1.542 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0005489/2.909, allocations: 342.8 kB / 1.543 GB, free: 212.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.8e-07/2.909, allocations: 7.938 kB / 1.543 GB, free: 212.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001927/2.911, allocations: 383.4 kB / 1.543 GB, free: 212.1 MB / 0.8855 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.004205/2.915, allocations: 2.045 MB / 1.545 GB, free: 210 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003203/2.919, allocations: 1.002 MB / 1.546 GB, free: 208.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/2.919, allocations: 0 / 1.546 GB, free: 208.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/2.92, allocations: 324.1 kB / 1.546 GB, free: 208.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/2.922, allocations: 239.7 kB / 1.547 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008963/2.931, allocations: 4.33 MB / 1.551 GB, free: 204 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/2.932, allocations: 0.8942 MB / 1.552 GB, free: 203 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000912/2.932, allocations: 124.3 kB / 1.552 GB, free: 202.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003586/2.933, allocations: 195.4 kB / 1.552 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.663e-06/2.933, allocations: 0 / 1.552 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06686/3, allocations: 17.76 MB / 1.569 GB, free: 185.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002697/3, allocations: 258.2 kB / 1.57 GB, free: 184.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.127/6.127, allocations: 0 / 1.57 GB, free: 184.9 MB / 0.8855 GB