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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.97/3.97, allocations: 432.6 MB / 445.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.397e-05/4.416e-05, allocations: 6.766 kB / 0.5383 GB, free: 10.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2346, allocations: 98.73 MB / 0.6347 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.198/1.433, allocations: 373.2 MB / 0.9991 GB, free: 0.7734 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003581/1.433, allocations: 83.97 kB / 0.9992 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.5/2.933, allocations: 244.5 MB / 1.238 GB, free: 180.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.956e-06/2.933, allocations: 0 / 1.238 GB, free: 180.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.842e-05/2.933, allocations: 16.19 kB / 1.238 GB, free: 180.2 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.002623/2.936, allocations: 0.9135 MB / 1.239 GB, free: 179.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/2.936, allocations: 8.031 kB / 1.239 GB, free: 179.2 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001931/2.936, allocations: 82.52 kB / 1.239 GB, free: 179.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/2.938, allocations: 183 kB / 1.239 GB, free: 179 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03886/2.977, allocations: 11.28 MB / 1.25 GB, free: 167.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005903/2.978, allocations: 96.72 kB / 1.25 GB, free: 167.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002065/2.978, allocations: 39.98 kB / 1.25 GB, free: 167.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/2.979, allocations: 446.3 kB / 1.251 GB, free: 166.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.034e-05/2.979, allocations: 0 / 1.251 GB, free: 166.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.5e-05/2.979, allocations: 15.95 kB / 1.251 GB, free: 166.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.623e-05/2.979, allocations: 8 kB / 1.251 GB, free: 166.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008505/2.98, allocations: 311 kB / 1.251 GB, free: 166.6 MB / 0.823 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.004817/2.985, allocations: 2.241 MB / 1.253 GB, free: 164.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008383/2.986, allocations: 266.8 kB / 1.254 GB, free: 163.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003848/2.986, allocations: 156.8 kB / 1.254 GB, free: 163.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003535/2.986, allocations: 348.6 kB / 1.254 GB, free: 163.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005252/2.987, allocations: 236.8 kB / 1.254 GB, free: 163.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=31): time 3.597e-06/2.987, allocations: 4 kB / 1.254 GB, free: 163 MB / 0.823 GB Notification: Performance of matching and sorting (n=31): time 0.001405/2.988, allocations: 431.3 kB / 1.255 GB, free: 162.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/2.989, allocations: 89.06 kB / 1.255 GB, free: 162.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008086/2.989, allocations: 428.9 kB / 1.255 GB, free: 162.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001418/2.99, allocations: 33.7 kB / 1.255 GB, free: 162 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002652/2.99, allocations: 284.3 kB / 1.255 GB, free: 161.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/2.99, allocations: 106.5 kB / 1.256 GB, free: 161.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/2.99, allocations: 4 kB / 1.256 GB, free: 161.7 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001176/2.99, allocations: 366.8 kB / 1.256 GB, free: 161.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003358/2.991, allocations: 123.9 kB / 1.256 GB, free: 161.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003926/2.991, allocations: 211.1 kB / 1.256 GB, free: 160.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003853/2.991, allocations: 179.8 kB / 1.256 GB, free: 160.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/2.991, allocations: 0 / 1.256 GB, free: 160.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001344/2.993, allocations: 483.2 kB / 1.257 GB, free: 160.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002153/2.993, allocations: 0.6439 MB / 1.257 GB, free: 159.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/2.993, allocations: 4 kB / 1.257 GB, free: 159.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003149/2.993, allocations: 52.83 kB / 1.258 GB, free: 159.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007297/2.994, allocations: 87.83 kB / 1.258 GB, free: 159.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006094/2.995, allocations: 0.5992 MB / 1.258 GB, free: 158.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/2.996, allocations: 87.59 kB / 1.258 GB, free: 158.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/2.996, allocations: 19.98 kB / 1.258 GB, free: 158.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/2.996, allocations: 4 kB / 1.258 GB, free: 158.7 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001247/2.997, allocations: 422.3 kB / 1.259 GB, free: 158.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/2.997, allocations: 4 kB / 1.259 GB, free: 158.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002751/2.998, allocations: 56.97 kB / 1.259 GB, free: 158.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006986/2.998, allocations: 75.98 kB / 1.259 GB, free: 158.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/3, allocations: 1.623 MB / 1.26 GB, free: 156.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/3.002, allocations: 87.72 kB / 1.26 GB, free: 156.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.932e-05/3.002, allocations: 19.98 kB / 1.261 GB, free: 156.2 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 () * 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.000261/3.002, allocations: 163 kB / 1.261 GB, free: 156.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/3.002, allocations: 55.34 kB / 1.261 GB, free: 156 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/3.004, allocations: 0.5187 MB / 1.261 GB, free: 155.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/3.004, allocations: 4 kB / 1.261 GB, free: 155.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/3.004, allocations: 0 / 1.261 GB, free: 155.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001162/3.005, allocations: 0.6628 MB / 1.262 GB, free: 154.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002771/3.008, allocations: 1.121 MB / 1.263 GB, free: 153.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/3.008, allocations: 0 / 1.263 GB, free: 153.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006383/3.009, allocations: 67.92 kB / 1.263 GB, free: 153.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002249/3.009, allocations: 40.84 kB / 1.263 GB, free: 153.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.902e-05/3.009, allocations: 11.98 kB / 1.263 GB, free: 153.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004126/3.009, allocations: 0.5835 MB / 1.264 GB, free: 152.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/3.009, allocations: 0 / 1.264 GB, free: 152.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/3.011, allocations: 0.7731 MB / 1.264 GB, free: 152 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004747/3.012, allocations: 180.2 kB / 1.265 GB, free: 151.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/3.012, allocations: 12.12 kB / 1.265 GB, free: 151.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009923/3.013, allocations: 63.94 kB / 1.265 GB, free: 151.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/3.013, allocations: 15.92 kB / 1.265 GB, free: 151.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.276e-05/3.013, allocations: 19.98 kB / 1.265 GB, free: 151.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0006064/3.014, allocations: 341.5 kB / 1.265 GB, free: 151.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.61e-07/3.014, allocations: 0 / 1.265 GB, free: 151.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001994/3.016, allocations: 379.3 kB / 1.265 GB, free: 151 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) * 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.003001/3.019, allocations: 1.657 MB / 1.267 GB, free: 149.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002148/3.021, allocations: 0.8399 MB / 1.268 GB, free: 148.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/3.021, allocations: 0.75 kB / 1.268 GB, free: 148.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005872/3.022, allocations: 265.8 kB / 1.268 GB, free: 148.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/3.024, allocations: 241.8 kB / 1.268 GB, free: 147.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003456/3.028, allocations: 0.9123 MB / 1.269 GB, free: 147 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/3.028, allocations: 0.8871 MB / 1.27 GB, free: 146.1 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001199/3.029, allocations: 148.2 kB / 1.27 GB, free: 145.9 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003821/3.03, allocations: 187.4 kB / 1.27 GB, free: 145.7 MB / 0.823 GB Notification: Performance of SimCode: time 1.392e-06/3.03, allocations: 7.938 kB / 1.27 GB, free: 145.7 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0667/3.096, allocations: 18.42 MB / 1.288 GB, free: 127.5 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002355/3.097, allocations: 243 kB / 1.289 GB, free: 127.2 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.676/6.773, allocations: 0 / 1.289 GB, free: 127.2 MB / 0.823 GB