Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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: translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01055/0.01055, allocations: 222.3 kB / 15.17 MB, free: 5.938 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.001074/0.001074, allocations: 176.1 kB / 16.06 MB, free: 5.836 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.502/3.502, allocations: 389.1 MB / 405.9 MB, free: 13.34 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.015/4.015, allocations: 472.3 MB / 0.9018 GB, free: 3.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000496/0.0004961, allocations: 12 kB / 1.008 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5531/0.5536, allocations: 98.71 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1724/0.7261, allocations: 158.2 MB / 1.259 GB, free: 80.04 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01416/0.7403, allocations: 11.26 MB / 1.27 GB, free: 68.77 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009084/0.7412, allocations: 19.88 kB / 1.27 GB, free: 68.75 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0007683/0.742, allocations: 246.3 kB / 1.27 GB, free: 68.51 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. [/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.002069/0.7441, allocations: 0.7826 MB / 1.271 GB, free: 67.73 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.003328/0.7474, allocations: 1.177 MB / 1.272 GB, free: 66.57 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001966/0.7494, allocations: 2.439 MB / 1.274 GB, free: 64.12 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.7508, allocations: 1.118 MB / 1.275 GB, free: 63.04 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002066/0.7529, allocations: 1.128 MB / 1.276 GB, free: 61.91 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007545/0.7537, allocations: 0.6762 MB / 1.277 GB, free: 61.23 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001437/0.7538, allocations: 44 kB / 1.277 GB, free: 61.19 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.7555, allocations: 0.6978 MB / 1.278 GB, free: 60.49 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002969/0.7558, allocations: 322.8 kB / 1.278 GB, free: 60.18 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002584/0.7561, allocations: 292.6 kB / 1.278 GB, free: 59.89 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.7578, allocations: 1.747 MB / 1.28 GB, free: 58.14 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.983e-06/0.7578, allocations: 0 / 1.28 GB, free: 58.14 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.797e-06/0.7578, allocations: 0 / 1.28 GB, free: 58.14 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.567e-05/0.7579, allocations: 0 / 1.28 GB, free: 58.14 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.002539/0.7604, allocations: 1.628 MB / 1.282 GB, free: 56.43 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.7605, allocations: 8.031 kB / 1.282 GB, free: 56.43 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004146/0.7646, allocations: 0.5249 MB / 1.282 GB, free: 55.9 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.7661, allocations: 0.8794 MB / 1.283 GB, free: 54.98 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.201e-05/0.7662, allocations: 98.59 kB / 1.283 GB, free: 54.88 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001971/0.7664, allocations: 132 kB / 1.283 GB, free: 54.75 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002978/0.7694, allocations: 1.509 MB / 1.285 GB, free: 53.17 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.7694, allocations: 3.938 kB / 1.285 GB, free: 53.16 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001795/0.7696, allocations: 56 kB / 1.285 GB, free: 53.11 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-05/0.7697, allocations: 32 kB / 1.285 GB, free: 53.08 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004179/0.7739, allocations: 1.664 MB / 1.286 GB, free: 51.41 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.007575/0.7815, allocations: 5.014 MB / 1.291 GB, free: 46.16 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003434/0.7849, allocations: 1.416 MB / 1.293 GB, free: 44.71 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00123/0.7862, allocations: 0.4957 MB / 1.293 GB, free: 44.21 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001188/0.7874, allocations: 0.8615 MB / 1.294 GB, free: 43.18 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001573/0.789, allocations: 0.7044 MB / 1.295 GB, free: 42.46 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=99): time 4.037e-06/0.789, allocations: 0 / 1.295 GB, free: 42.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=99): time 0.005413/0.7944, allocations: 1.703 MB / 1.296 GB, free: 40.73 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.7945, allocations: 171.2 kB / 1.296 GB, free: 40.53 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.7956, allocations: 0.7788 MB / 1.297 GB, free: 39.74 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001199/0.7957, allocations: 49.7 kB / 1.297 GB, free: 39.68 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003682/0.7961, allocations: 0.5195 MB / 1.298 GB, free: 39.16 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002655/0.7964, allocations: 335.1 kB / 1.298 GB, free: 38.82 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.91e-05/0.7965, allocations: 24 kB / 1.298 GB, free: 38.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.903e-05/0.7966, allocations: 341.9 kB / 1.298 GB, free: 38.46 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.7978, allocations: 446.3 kB / 1.299 GB, free: 38.03 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/0.7992, allocations: 0.6067 MB / 1.299 GB, free: 37.37 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/0.8005, allocations: 0.578 MB / 1.3 GB, free: 36.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.8006, allocations: 0 / 1.3 GB, free: 36.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003759/0.8043, allocations: 1.443 MB / 1.301 GB, free: 35.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.366e-05/0.8044, allocations: 101.2 kB / 1.302 GB, free: 35.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.8044, allocations: 0 / 1.302 GB, free: 35.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006236/0.8051, allocations: 84.78 kB / 1.302 GB, free: 35.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.8066, allocations: 263.6 kB / 1.302 GB, free: 34.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/0.8086, allocations: 1.536 MB / 1.303 GB, free: 33.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.8099, allocations: 161.9 kB / 1.304 GB, free: 33.01 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.8101, allocations: 55.95 kB / 1.304 GB, free: 32.96 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTim1.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,senMasFra.i_x) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 3 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006771/0.8108, allocations: 322.1 kB / 1.304 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/0.811, allocations: 114.7 kB / 1.304 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004129/0.8151, allocations: 1.445 MB / 1.305 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.8152, allocations: 12.7 kB / 1.305 GB, free: 31.08 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.247e-06/0.8152, allocations: 7.953 kB / 1.305 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.8152, allocations: 3.984 kB / 1.305 GB, free: 31.07 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.005602/0.8208, allocations: 2.788 MB / 1.308 GB, free: 28.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.738e-06/0.8208, allocations: 7.562 kB / 1.308 GB, free: 28.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/0.8222, allocations: 235.7 kB / 1.308 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000553/0.8228, allocations: 82.38 kB / 1.308 GB, free: 27.88 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.764e-05/0.8229, allocations: 31.97 kB / 1.308 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/0.8247, allocations: 1.559 MB / 1.31 GB, free: 26.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.608e-06/0.8248, allocations: 0 / 1.31 GB, free: 26.15 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003403/0.8282, allocations: 1.312 MB / 1.311 GB, free: 24.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006308/0.8288, allocations: 383.1 kB / 1.312 GB, free: 24.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001929/0.829, allocations: 23.38 kB / 1.312 GB, free: 24.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/0.8303, allocations: 115.9 kB / 1.312 GB, free: 24.29 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/0.8305, allocations: 72.89 kB / 1.312 GB, free: 24.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/0.8306, allocations: 47.91 kB / 1.312 GB, free: 24.17 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007977/0.8314, allocations: 0.538 MB / 1.312 GB, free: 23.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.1e-07/0.8315, allocations: 0 / 1.312 GB, free: 23.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00137/0.8328, allocations: 474.7 kB / 1.313 GB, free: 23.17 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTim1.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002109/0.835, allocations: 0.7111 MB / 1.314 GB, free: 22.77 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003122/0.8381, allocations: 1.373 MB / 1.315 GB, free: 21.35 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.241e-06/0.8381, allocations: 0.625 kB / 1.315 GB, free: 21.35 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001581/0.8397, allocations: 0.6798 MB / 1.316 GB, free: 20.66 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/0.8419, allocations: 433.4 kB / 1.316 GB, free: 20.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005913/0.8479, allocations: 2.946 MB / 1.319 GB, free: 17.29 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007119/0.8486, allocations: 1.193 MB / 1.32 GB, free: 16.07 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002218/0.8508, allocations: 374.6 kB / 1.32 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004815/0.8513, allocations: 127.4 kB / 1.321 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of SimCode: time 1.444e-06/0.8513, allocations: 0 / 1.321 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of Templates: time 0.04544/0.8968, allocations: 21.01 MB / 1.341 GB, free: 11.39 MB / 0.7448 GB