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.Example1v1.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.Example1v1,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_Performance_Example1v1",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.01281/0.01281, allocations: 224.4 kB / 15.17 MB, free: 5.93 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.001279/0.001278, allocations: 179.6 kB / 16.06 MB, free: 5.832 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 3.687/3.687, allocations: 389 MB / 405.9 MB, free: 13.7 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 3.944/3.944, allocations: 472.3 MB / 0.9018 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.0004923/0.0004924, allocations: 13.97 kB / 1.008 GB, free: 54.45 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1926, allocations: 98.73 MB / 1.104 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.1099/0.3026, allocations: 66.08 MB / 1.169 GB, free: 3.66 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0413/0.344, allocations: 18.62 MB / 1.187 GB, free: 1.004 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003538/0.3476, allocations: 83.38 kB / 1.187 GB, free: 0.9219 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.005063/0.3527, allocations: 0.994 MB / 1.188 GB, free: 15.92 MB / 0.6042 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.01206/0.3648, allocations: 2.828 MB / 1.191 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.01585/0.3807, allocations: 3.636 MB / 1.194 GB, free: 9.449 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01507/0.3958, allocations: 9.036 MB / 1.203 GB, free: 388 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01153/0.4074, allocations: 5.036 MB / 1.208 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007546/0.415, allocations: 2.559 MB / 1.21 GB, free: 8.738 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006143/0.4212, allocations: 2.303 MB / 1.213 GB, free: 6.426 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.00123/0.4225, allocations: 132 kB / 1.213 GB, free: 6.297 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005104/0.4276, allocations: 1.01 MB / 1.214 GB, free: 5.285 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001758/0.4294, allocations: 0.5988 MB / 1.214 GB, free: 4.684 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001991/0.4315, allocations: 0.6522 MB / 1.215 GB, free: 4.023 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00722/0.4387, allocations: 3.468 MB / 1.218 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.4388, allocations: 0 / 1.218 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.825e-06/0.4388, allocations: 4 kB / 1.218 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001732/0.439, allocations: 0 / 1.218 GB, free: 0.543 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 395 * Number of variables: 395 Notification: Performance of Generate backend data structure: time 0.0131/0.4521, allocations: 3.847 MB / 1.222 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.4522, allocations: 12.03 kB / 1.222 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008784/0.4531, allocations: 228 kB / 1.222 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004373/0.4575, allocations: 0.5734 MB / 1.223 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008934/0.4665, allocations: 2.505 MB / 1.225 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002507/0.4668, allocations: 139.7 kB / 1.226 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007955/0.4676, allocations: 184 kB / 1.226 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007979/0.4756, allocations: 2.404 MB / 1.228 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.195e-05/0.4757, allocations: 7.938 kB / 1.228 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003794/0.4761, allocations: 64 kB / 1.228 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.054e-05/0.4762, allocations: 40 kB / 1.228 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007789/0.484, allocations: 2.017 MB / 1.23 GB, free: 4.234 MB / 0.6355 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.02774/0.5118, allocations: 12.12 MB / 1.242 GB, free: 7.492 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005939/0.5178, allocations: 1.554 MB / 1.243 GB, free: 5.941 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003388/0.5212, allocations: 1.082 MB / 1.245 GB, free: 4.852 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01287/0.5341, allocations: 4.072 MB / 1.249 GB, free: 0.5039 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.5271/1.061, allocations: 0.9372 MB / 1.249 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002812/1.064, allocations: 446.8 kB / 1.25 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=95): time 5.1e-06/1.064, allocations: 0.5625 kB / 1.25 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=95): time 0.03045/1.095, allocations: 5.189 MB / 1.255 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.651e-05/1.095, allocations: 115.7 kB / 1.255 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006529/1.101, allocations: 2.99 MB / 1.258 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003516/1.102, allocations: 57.77 kB / 1.258 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001517/1.103, allocations: 1.447 MB / 1.259 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004704/1.104, allocations: 342 kB / 1.26 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/1.104, allocations: 26.31 kB / 1.26 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001091/1.104, allocations: 362.5 kB / 1.26 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002308/1.106, allocations: 0.6906 MB / 1.261 GB, free: 135 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002877/1.109, allocations: 1.49 MB / 1.262 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002648/1.112, allocations: 0.9037 MB / 1.263 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-05/1.112, allocations: 4.75 kB / 1.263 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01093/1.123, allocations: 2.951 MB / 1.266 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003339/1.123, allocations: 0.5381 MB / 1.267 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-05/1.123, allocations: 13.25 kB / 1.267 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004992/1.128, allocations: 0.7767 MB / 1.267 GB, free: 131.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002267/1.131, allocations: 295.6 kB / 1.268 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00319/1.134, allocations: 2.17 MB / 1.27 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004509/1.138, allocations: 257.6 kB / 1.27 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002186/1.139, allocations: 77.72 kB / 1.27 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/1.139, allocations: 6.688 kB / 1.27 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006385/1.145, allocations: 2.31 MB / 1.272 GB, free: 128.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/1.145, allocations: 11.81 kB / 1.272 GB, free: 128.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002371/1.147, allocations: 0.5798 MB / 1.273 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/1.149, allocations: 285.9 kB / 1.273 GB, free: 127.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/1.16, allocations: 6.495 MB / 1.279 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004172/1.165, allocations: 242.2 kB / 1.28 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000175/1.165, allocations: 68.52 kB / 1.28 GB, free: 122.6 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.001725/1.166, allocations: 0.82 MB / 1.281 GB, free: 122.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005125/1.167, allocations: 294 kB / 1.281 GB, free: 121.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006905/1.174, allocations: 2.487 MB / 1.283 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/1.174, allocations: 15.94 kB / 1.283 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/1.174, allocations: 0 / 1.283 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005481/1.179, allocations: 2.177 MB / 1.285 GB, free: 117.4 MB / 0.6511 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.011/1.19, allocations: 4.671 MB / 1.29 GB, free: 112.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/1.191, allocations: 0 / 1.29 GB, free: 112.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00138/1.192, allocations: 154.7 kB / 1.29 GB, free: 112.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001932/1.194, allocations: 0.5353 MB / 1.291 GB, free: 112 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.992e-05/1.194, allocations: 31.98 kB / 1.291 GB, free: 111.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002497/1.196, allocations: 2.091 MB / 1.293 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.196, allocations: 0.7031 kB / 1.293 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008701/1.205, allocations: 3.33 MB / 1.296 GB, free: 106.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001523/1.207, allocations: 0.5401 MB / 1.297 GB, free: 105.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005931/1.207, allocations: 16 kB / 1.297 GB, free: 105.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003234/1.211, allocations: 207.7 kB / 1.297 GB, free: 105.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/1.211, allocations: 64.84 kB / 1.297 GB, free: 105.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/1.211, allocations: 39.97 kB / 1.297 GB, free: 105.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003566/1.215, allocations: 2.04 MB / 1.299 GB, free: 103.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.215, allocations: 4 kB / 1.299 GB, free: 103.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.005037/1.22, allocations: 1.483 MB / 1.3 GB, free: 102.1 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (57): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.009069/1.229, allocations: 3.988 MB / 1.304 GB, free: 98.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.008424/1.237, allocations: 3.234 MB / 1.307 GB, free: 94.82 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/1.237, allocations: 4.062 kB / 1.307 GB, free: 94.82 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002469/1.24, allocations: 0.8214 MB / 1.308 GB, free: 94 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01299/1.253, allocations: 1.563 MB / 1.31 GB, free: 92.46 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05846/1.311, allocations: 21.52 MB / 1.331 GB, free: 69.47 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001632/1.313, allocations: 2.089 MB / 1.333 GB, free: 67.36 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.004022/1.317, allocations: 0.6838 MB / 1.333 GB, free: 66.67 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001968/1.319, allocations: 1.198 MB / 1.335 GB, free: 65.47 MB / 0.6511 GB Notification: Performance of SimCode: time 1.002e-06/1.319, allocations: 0 / 1.335 GB, free: 65.47 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1886/1.508, allocations: 85.56 MB / 1.418 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002348/1.508, allocations: 275.3 kB / 1.418 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.984/7.492, allocations: 0 / 1.418 GB, free: 12.52 MB / 0.6823 GB