Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01645/0.01645, allocations: 107.2 kB / 15.05 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001774/0.001774, allocations: 184.9 kB / 15.95 MB, free: 5.941 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.015/2.015, allocations: 194.5 MB / 211.3 MB, free: 11.03 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.209/2.209, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004997/0.0004996, allocations: 15.98 kB / 0.587 GB, free: 2.055 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6914/0.6919, allocations: 98.71 MB / 0.6834 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.153/1.845, allocations: 373.2 MB / 1.048 GB, free: 74.86 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/1.845, allocations: 86.89 kB / 1.048 GB, free: 74.82 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.399/3.245, allocations: 245.3 MB / 1.288 GB, free: 237.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.964e-06/3.245, allocations: 0 / 1.288 GB, free: 237.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.449e-05/3.245, allocations: 15.44 kB / 1.288 GB, free: 237.3 MB / 0.823 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.002536/3.247, allocations: 1.021 MB / 1.289 GB, free: 236.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/3.247, allocations: 7.594 kB / 1.289 GB, free: 236.6 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001383/3.248, allocations: 80.17 kB / 1.289 GB, free: 236.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/3.249, allocations: 180 kB / 1.289 GB, free: 236.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03493/3.284, allocations: 11.37 MB / 1.3 GB, free: 233 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005882/3.284, allocations: 91.97 kB / 1.3 GB, free: 233 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/3.285, allocations: 38.91 kB / 1.3 GB, free: 233 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/3.286, allocations: 0.4937 MB / 1.3 GB, free: 232.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/3.286, allocations: 0 / 1.3 GB, free: 232.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.411e-05/3.286, allocations: 19.83 kB / 1.301 GB, free: 232.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/3.286, allocations: 11.75 kB / 1.301 GB, free: 232.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/3.288, allocations: 414.4 kB / 1.301 GB, free: 232.7 MB / 0.823 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.004221/3.292, allocations: 2.24 MB / 1.303 GB, free: 231 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/3.294, allocations: 379.9 kB / 1.303 GB, free: 230.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003265/3.294, allocations: 350.5 kB / 1.304 GB, free: 230.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009364/3.295, allocations: 286.5 kB / 1.304 GB, free: 230.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=31): time 3.928e-06/3.295, allocations: 3.938 kB / 1.304 GB, free: 230.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=31): time 0.00336/3.299, allocations: 0.8792 MB / 1.305 GB, free: 229.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/3.299, allocations: 82.95 kB / 1.305 GB, free: 229.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007304/3.299, allocations: 432.3 kB / 1.305 GB, free: 229.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.584e-05/3.299, allocations: 33.64 kB / 1.305 GB, free: 229.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/3.3, allocations: 292.3 kB / 1.306 GB, free: 229.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/3.3, allocations: 107.2 kB / 1.306 GB, free: 229.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/3.3, allocations: 7.938 kB / 1.306 GB, free: 229.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001045/3.3, allocations: 356.9 kB / 1.306 GB, free: 228.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007453/3.301, allocations: 176.5 kB / 1.306 GB, free: 228.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008108/3.302, allocations: 273.3 kB / 1.307 GB, free: 228.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007923/3.302, allocations: 224.5 kB / 1.307 GB, free: 228.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/3.302, allocations: 0 / 1.307 GB, free: 228.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002132/3.305, allocations: 0.5795 MB / 1.307 GB, free: 228.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001821/3.305, allocations: 0.6454 MB / 1.308 GB, free: 227.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/3.305, allocations: 3.969 kB / 1.308 GB, free: 227.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002978/3.305, allocations: 52.3 kB / 1.308 GB, free: 227.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006663/3.306, allocations: 79.66 kB / 1.308 GB, free: 227.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000531/3.306, allocations: 0.5998 MB / 1.309 GB, free: 227 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/3.307, allocations: 87.03 kB / 1.309 GB, free: 227 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.707e-05/3.307, allocations: 22.23 kB / 1.309 GB, free: 227 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/3.307, allocations: 6.469 kB / 1.309 GB, free: 227 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001954/3.309, allocations: 0.5111 MB / 1.309 GB, free: 226.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/3.309, allocations: 3.219 kB / 1.309 GB, free: 226.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002595/3.31, allocations: 49.55 kB / 1.309 GB, free: 226.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006428/3.31, allocations: 84.81 kB / 1.309 GB, free: 226.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/3.312, allocations: 1.64 MB / 1.311 GB, free: 225.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/3.313, allocations: 78.66 kB / 1.311 GB, free: 225.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-05/3.313, allocations: 23.88 kB / 1.311 GB, free: 225 MB / 0.823 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 (31): * Single equations (assignments): 29 * 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.0004563/3.314, allocations: 299.9 kB / 1.311 GB, free: 224.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/3.314, allocations: 57.53 kB / 1.312 GB, free: 224.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/3.316, allocations: 0.6129 MB / 1.312 GB, free: 224.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/3.316, allocations: 3.688 kB / 1.312 GB, free: 224.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/3.316, allocations: 2.312 kB / 1.312 GB, free: 224.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001877/3.318, allocations: 0.7634 MB / 1.313 GB, free: 223.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003311/3.321, allocations: 1.236 MB / 1.314 GB, free: 223 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/3.321, allocations: 0 / 1.314 GB, free: 223 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005934/3.322, allocations: 61.95 kB / 1.314 GB, free: 223 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001922/3.322, allocations: 42.73 kB / 1.314 GB, free: 222.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.537e-05/3.322, allocations: 9.375 kB / 1.314 GB, free: 222.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003793/3.323, allocations: 0.5875 MB / 1.315 GB, free: 222.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/3.323, allocations: 0 / 1.315 GB, free: 222.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002971/3.326, allocations: 0.9285 MB / 1.316 GB, free: 221.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004191/3.326, allocations: 180.2 kB / 1.316 GB, free: 221.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/3.326, allocations: 7.906 kB / 1.316 GB, free: 221.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009248/3.327, allocations: 66.53 kB / 1.316 GB, free: 221.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.078e-05/3.327, allocations: 19.53 kB / 1.316 GB, free: 221.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.14e-05/3.327, allocations: 25.02 kB / 1.316 GB, free: 221.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0005698/3.328, allocations: 339 kB / 1.316 GB, free: 221.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.01e-07/3.328, allocations: 0 / 1.316 GB, free: 221.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002011/3.33, allocations: 387.2 kB / 1.317 GB, free: 221.3 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (23): * Single equations (assignments): 19 * 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.004583/3.335, allocations: 1.804 MB / 1.318 GB, free: 220.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003536/3.338, allocations: 0.9753 MB / 1.319 GB, free: 219.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/3.338, allocations: 0 / 1.319 GB, free: 219.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/3.339, allocations: 313.3 kB / 1.32 GB, free: 219.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0024/3.342, allocations: 240.1 kB / 1.32 GB, free: 219.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00928/3.351, allocations: 4.275 MB / 1.324 GB, free: 216.3 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/3.352, allocations: 0.8962 MB / 1.325 GB, free: 215.5 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.000898/3.353, allocations: 114.5 kB / 1.325 GB, free: 215.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003543/3.353, allocations: 190.7 kB / 1.325 GB, free: 215.3 MB / 0.823 GB Notification: Performance of SimCode: time 1.463e-06/3.353, allocations: 0 / 1.325 GB, free: 215.3 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07214/3.425, allocations: 17.42 MB / 1.342 GB, free: 205.4 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002345/3.425, allocations: 258.4 kB / 1.342 GB, free: 205 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.336/6.761, allocations: 0 / 1.342 GB, free: 205 MB / 0.823 GB