Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.693/1.693, allocations: 288.3 MB / 303.2 MB, free: 8.055 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 181 kB / 371.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.4 MB / 0.6306 GB, free: 9.977 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008589/0.000859, allocations: 86.97 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.000381, allocations: 12.44 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2267, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.6725/0.8993, allocations: 146.9 MB / 1.123 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01356/0.9129, allocations: 10.46 MB / 1.133 GB, free: 276 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001555/0.9145, allocations: 27.75 kB / 1.133 GB, free: 264 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.9157, allocations: 271.6 kB / 1.133 GB, free: 192 kB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002689/0.9184, allocations: 0.7408 MB / 1.134 GB, free: 136 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003683/0.9221, allocations: 1.197 MB / 1.135 GB, free: 76 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002067/0.9241, allocations: 1.347 MB / 1.137 GB, free: 8 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00168/0.9258, allocations: 1.148 MB / 1.138 GB, free: 15.8 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003039/0.9289, allocations: 1.08 MB / 1.139 GB, free: 15.48 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008662/0.9298, allocations: 0.5045 MB / 1.139 GB, free: 15.27 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.9299, allocations: 40.12 kB / 1.139 GB, free: 15.27 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002183/0.9321, allocations: 0.6819 MB / 1.14 GB, free: 15.14 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000347/0.9325, allocations: 296.4 kB / 1.14 GB, free: 15.03 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000434/0.9329, allocations: 285.1 kB / 1.141 GB, free: 14.95 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002372/0.9353, allocations: 1.702 MB / 1.142 GB, free: 14.05 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.9353, allocations: 0 / 1.142 GB, free: 14.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.156e-06/0.9353, allocations: 0 / 1.142 GB, free: 14.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.314e-05/0.9354, allocations: 1.062 kB / 1.142 GB, free: 14.05 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.002994/0.9384, allocations: 1.555 MB / 1.144 GB, free: 12.97 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.9384, allocations: 9 kB / 1.144 GB, free: 12.97 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002629/0.9411, allocations: 409.4 kB / 1.144 GB, free: 12.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.9428, allocations: 0.9199 MB / 1.145 GB, free: 12.29 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.9429, allocations: 96.8 kB / 1.145 GB, free: 12.28 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/0.9431, allocations: 123.8 kB / 1.145 GB, free: 12.28 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002536/0.9456, allocations: 1.427 MB / 1.147 GB, free: 11.78 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.9457, allocations: 0 / 1.147 GB, free: 11.78 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/0.9458, allocations: 56.72 kB / 1.147 GB, free: 11.78 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.855e-05/0.9459, allocations: 32.12 kB / 1.147 GB, free: 11.78 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002696/0.9486, allocations: 1.527 MB / 1.148 GB, free: 11.41 MB / 0.698 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.007882/0.9565, allocations: 4.895 MB / 1.153 GB, free: 8.309 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002562/0.9591, allocations: 1.3 MB / 1.154 GB, free: 7.918 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006141/0.9597, allocations: 262.8 kB / 1.154 GB, free: 7.699 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001262/0.961, allocations: 0.6162 MB / 1.155 GB, free: 7.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=98): time 3.477e-06/0.961, allocations: 1.156 kB / 1.155 GB, free: 7.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=98): time 0.004252/0.9652, allocations: 1.54 MB / 1.157 GB, free: 6.691 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.9654, allocations: 196.6 kB / 1.157 GB, free: 6.465 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.9666, allocations: 0.8197 MB / 1.158 GB, free: 5.984 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.9668, allocations: 43.33 kB / 1.158 GB, free: 5.941 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005316/0.9673, allocations: 0.568 MB / 1.158 GB, free: 5.438 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002942/0.9676, allocations: 332.9 kB / 1.158 GB, free: 5.156 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.9677, allocations: 16.12 kB / 1.158 GB, free: 5.145 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.9678, allocations: 342.2 kB / 1.159 GB, free: 4.812 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007223/0.9685, allocations: 340 kB / 1.159 GB, free: 4.648 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009175/0.9695, allocations: 0.5231 MB / 1.16 GB, free: 4.266 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008153/0.9703, allocations: 419.1 kB / 1.16 GB, free: 4.051 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.9703, allocations: 1.375 kB / 1.16 GB, free: 4.051 MB / 0.698 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002648/0.973, allocations: 1.094 MB / 1.161 GB, free: 3.492 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.973, allocations: 11.91 kB / 1.161 GB, free: 3.488 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.973, allocations: 5.328 kB / 1.161 GB, free: 3.488 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006348/0.9737, allocations: 93.09 kB / 1.161 GB, free: 3.441 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.9748, allocations: 231.6 kB / 1.161 GB, free: 3.387 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00226/0.9771, allocations: 1.55 MB / 1.163 GB, free: 1.871 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.9784, allocations: 139 kB / 1.163 GB, free: 1.789 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.668e-05/0.9785, allocations: 37.67 kB / 1.163 GB, free: 1.777 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * 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.0008082/0.9793, allocations: 326.9 kB / 1.163 GB, free: 1.531 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.9795, allocations: 119.3 kB / 1.164 GB, free: 1.469 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00313/0.9827, allocations: 1.34 MB / 1.165 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.9827, allocations: 12.41 kB / 1.165 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.9827, allocations: 0 / 1.165 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.9827, allocations: 3.984 kB / 1.165 GB, free: 0.7031 MB / 0.698 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.005152/0.9879, allocations: 2.726 MB / 1.168 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.9879, allocations: 6.844 kB / 1.168 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000975/0.9889, allocations: 214.1 kB / 1.168 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000551/0.9895, allocations: 86.8 kB / 1.168 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-05/0.9895, allocations: 30.3 kB / 1.168 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002065/0.9916, allocations: 1.584 MB / 1.169 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.9916, allocations: 0 / 1.169 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002916/0.9946, allocations: 1.301 MB / 1.171 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009137/0.9955, allocations: 348.9 kB / 1.171 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003222/0.9958, allocations: 21.38 kB / 1.171 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/0.997, allocations: 99.98 kB / 1.171 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/0.9972, allocations: 79.7 kB / 1.171 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/0.9974, allocations: 44.81 kB / 1.171 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001062/0.9984, allocations: 0.5707 MB / 1.172 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.8e-07/0.9984, allocations: 0 / 1.172 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001678/1, allocations: 442.4 kB / 1.172 GB, free: 11.57 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * 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.001827/1.002, allocations: 0.6514 MB / 1.173 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002275/1.004, allocations: 1.029 MB / 1.174 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/1.004, allocations: 0 / 1.174 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00126/1.006, allocations: 0.6405 MB / 1.174 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002322/1.008, allocations: 463.7 kB / 1.175 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006135/1.014, allocations: 2.946 MB / 1.178 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/1.015, allocations: 1.205 MB / 1.179 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001803/1.017, allocations: 364 kB / 1.179 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004644/1.017, allocations: 134.2 kB / 1.179 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of SimCode: time 7.42e-07/1.017, allocations: 4 kB / 1.179 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of Templates: time 0.04128/1.059, allocations: 20.82 MB / 1.2 GB, free: 5.566 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)