Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Examples.Performance.Example3.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.Examples.Performance.Example3,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_Performance_Example3",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.01926/0.01926, allocations: 220.2 kB / 15.17 MB, free: 5.992 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.002069/0.002068, allocations: 180.3 kB / 16.06 MB, free: 5.871 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 4.178/4.178, allocations: 389 MB / 405.9 MB, free: 13.35 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.643/4.643, allocations: 472.3 MB / 0.9017 GB, free: 3.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007426/0.0007429, allocations: 12 kB / 1.008 GB, free: 10.19 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7572/0.758, allocations: 98.71 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.04838/0.8065, allocations: 29.84 MB / 1.133 GB, free: 192 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02673/0.8333, allocations: 12.09 MB / 1.145 GB, free: 183.9 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002502/0.8358, allocations: 42.28 kB / 1.145 GB, free: 183.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.003413/0.8393, allocations: 0.5512 MB / 1.146 GB, free: 183.6 MB / 0.7292 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.008342/0.8477, allocations: 1.536 MB / 1.147 GB, free: 182.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01228/0.86, allocations: 2.349 MB / 1.149 GB, free: 181.8 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01084/0.8709, allocations: 5.497 MB / 1.155 GB, free: 179.6 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004476/0.8754, allocations: 1.572 MB / 1.156 GB, free: 179.1 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005344/0.8808, allocations: 1.482 MB / 1.158 GB, free: 178.5 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004264/0.8851, allocations: 1.289 MB / 1.159 GB, free: 178 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0008637/0.8861, allocations: 68.97 kB / 1.159 GB, free: 178 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004474/0.8906, allocations: 0.7254 MB / 1.16 GB, free: 177.8 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001396/0.892, allocations: 376 kB / 1.16 GB, free: 177.6 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001839/0.8939, allocations: 399.9 kB / 1.161 GB, free: 177.4 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00565/0.8996, allocations: 2.123 MB / 1.163 GB, free: 176.1 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.8997, allocations: 0 / 1.163 GB, free: 176.1 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.426e-06/0.8997, allocations: 1.625 kB / 1.163 GB, free: 176.1 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001136/0.8998, allocations: 1 kB / 1.163 GB, free: 176.1 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.007463/0.9073, allocations: 2.075 MB / 1.165 GB, free: 174.5 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.9074, allocations: 8.875 kB / 1.165 GB, free: 174.5 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006422/0.908, allocations: 149.9 kB / 1.165 GB, free: 174.4 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002565/0.9106, allocations: 309.1 kB / 1.165 GB, free: 174.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006346/0.917, allocations: 1.606 MB / 1.167 GB, free: 173.2 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001641/0.9173, allocations: 83.3 kB / 1.167 GB, free: 173.1 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005024/0.9178, allocations: 110.6 kB / 1.167 GB, free: 173.1 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004413/0.9222, allocations: 1.33 MB / 1.168 GB, free: 172.2 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.177e-05/0.9223, allocations: 0.9375 kB / 1.168 GB, free: 172.2 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/0.9225, allocations: 44.06 kB / 1.168 GB, free: 172.2 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.498e-05/0.9226, allocations: 27.66 kB / 1.168 GB, free: 172.2 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004358/0.9269, allocations: 1.05 MB / 1.169 GB, free: 171.5 MB / 0.7292 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.014/0.941, allocations: 6.971 MB / 1.176 GB, free: 164.1 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002557/0.9436, allocations: 0.6798 MB / 1.177 GB, free: 163.4 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/0.9451, allocations: 427.6 kB / 1.177 GB, free: 163 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005155/0.9503, allocations: 1.818 MB / 1.179 GB, free: 161 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00141/0.9517, allocations: 413.5 kB / 1.179 GB, free: 160.6 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001389/0.9532, allocations: 114.2 kB / 1.179 GB, free: 160.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 7.173e-06/0.9532, allocations: 0 / 1.179 GB, free: 160.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.007684/0.9609, allocations: 1.51 MB / 1.181 GB, free: 159 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.961, allocations: 63.12 kB / 1.181 GB, free: 158.9 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00427/0.9653, allocations: 1.847 MB / 1.183 GB, free: 157.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002348/0.9656, allocations: 41.7 kB / 1.183 GB, free: 157 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001063/0.9667, allocations: 0.8621 MB / 1.184 GB, free: 156.1 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002855/0.967, allocations: 161.8 kB / 1.184 GB, free: 156 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.138e-05/0.9671, allocations: 16 kB / 1.184 GB, free: 156 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.736e-05/0.9672, allocations: 337.9 kB / 1.184 GB, free: 155.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.9685, allocations: 321 kB / 1.184 GB, free: 155.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/0.9702, allocations: 0.7842 MB / 1.185 GB, free: 154.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/0.9717, allocations: 448.1 kB / 1.186 GB, free: 153.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.548e-05/0.9718, allocations: 4 kB / 1.186 GB, free: 153.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.005252/0.9771, allocations: 1.354 MB / 1.187 GB, free: 152.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003178/0.9774, allocations: 428.1 kB / 1.187 GB, free: 152 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/0.9775, allocations: 15.98 kB / 1.187 GB, free: 152 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001455/0.9789, allocations: 224.9 kB / 1.188 GB, free: 151.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.9803, allocations: 175.7 kB / 1.188 GB, free: 151.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.9816, allocations: 0.8484 MB / 1.189 GB, free: 150.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002939/0.9846, allocations: 120.5 kB / 1.189 GB, free: 150.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002901/0.9849, allocations: 47.98 kB / 1.189 GB, free: 150.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.9849, allocations: 4 kB / 1.189 GB, free: 150.6 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003063/0.988, allocations: 1.023 MB / 1.19 GB, free: 149.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.083e-05/0.9881, allocations: 15.98 kB / 1.19 GB, free: 149.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007012/0.9888, allocations: 159 kB / 1.19 GB, free: 149.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.99, allocations: 163.7 kB / 1.19 GB, free: 149.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003768/0.9938, allocations: 2.352 MB / 1.192 GB, free: 146.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00261/0.9964, allocations: 112.5 kB / 1.192 GB, free: 146.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002468/0.9968, allocations: 43.98 kB / 1.193 GB, free: 146.6 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 1 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.001599/0.9984, allocations: 0.586 MB / 1.193 GB, free: 146 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006302/0.999, allocations: 173.2 kB / 1.193 GB, free: 145.8 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003833/1.003, allocations: 1.066 MB / 1.194 GB, free: 144.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.457e-05/1.003, allocations: 7.953 kB / 1.194 GB, free: 144.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/1.003, allocations: 0 / 1.194 GB, free: 144.8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002831/1.006, allocations: 1.014 MB / 1.195 GB, free: 143.7 MB / 0.7292 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 postOpt removeSimpleEquations (simulation): time 0.00694/1.013, allocations: 2.297 MB / 1.198 GB, free: 141.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/1.013, allocations: 0 / 1.198 GB, free: 141.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000897/1.014, allocations: 95.89 kB / 1.198 GB, free: 141.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005565/1.014, allocations: 142 kB / 1.198 GB, free: 141.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/1.014, allocations: 19.94 kB / 1.198 GB, free: 141.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008512/1.015, allocations: 0.7981 MB / 1.199 GB, free: 140.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/1.015, allocations: 0 / 1.199 GB, free: 140.3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004642/1.02, allocations: 1.462 MB / 1.2 GB, free: 138.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/1.021, allocations: 330.7 kB / 1.2 GB, free: 138.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007346/1.022, allocations: 16.06 kB / 1.2 GB, free: 138.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00238/1.025, allocations: 95.73 kB / 1.2 GB, free: 138.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002203/1.025, allocations: 52.31 kB / 1.2 GB, free: 138.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/1.025, allocations: 19.98 kB / 1.2 GB, free: 138.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002834/1.028, allocations: 1.274 MB / 1.202 GB, free: 137 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.092e-06/1.028, allocations: 0 / 1.202 GB, free: 137 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004688/1.033, allocations: 0.8423 MB / 1.203 GB, free: 136.1 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.005825/1.038, allocations: 2.217 MB / 1.205 GB, free: 133.9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004861/1.043, allocations: 1.535 MB / 1.206 GB, free: 132.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/1.043, allocations: 1.375 kB / 1.206 GB, free: 132.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001435/1.045, allocations: 370.3 kB / 1.207 GB, free: 132 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007794/1.053, allocations: 0.8538 MB / 1.207 GB, free: 131.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03383/1.087, allocations: 11.45 MB / 1.219 GB, free: 118.9 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001175/1.088, allocations: 1.533 MB / 1.22 GB, free: 117.4 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00289/1.091, allocations: 428.6 kB / 1.22 GB, free: 117 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001534/1.092, allocations: 0.6633 MB / 1.221 GB, free: 116.3 MB / 0.7292 GB Notification: Performance of SimCode: time 1.823e-06/1.092, allocations: 0 / 1.221 GB, free: 116.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1535/1.246, allocations: 49.05 MB / 1.269 GB, free: 69.03 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003297/1.246, allocations: 261.9 kB / 1.269 GB, free: 68.69 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.471/5.717, allocations: 0 / 1.269 GB, free: 68.69 MB / 0.7292 GB