Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 99.47 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.614/1.614, allocations: 251.9 MB / 0.51 GB, free: 4.883 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008051/0.0008052, allocations: 20 kB / 0.6241 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.574/0.5748, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1842/0.759, allocations: 147 MB / 0.8716 GB, free: 7.984 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0156/0.7747, allocations: 10.52 MB / 0.8818 GB, free: 13.44 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.7762, allocations: 23.81 kB / 0.8819 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.7775, allocations: 282.4 kB / 0.8821 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003266/0.7808, allocations: 0.7694 MB / 0.8829 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.004238/0.785, allocations: 1.201 MB / 0.8841 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.003668/0.7887, allocations: 1.409 MB / 0.8854 GB, free: 9.758 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002234/0.791, allocations: 1.172 MB / 0.8866 GB, free: 8.574 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003345/0.7944, allocations: 1.125 MB / 0.8877 GB, free: 7.445 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.7955, allocations: 0.5169 MB / 0.8882 GB, free: 6.926 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.7957, allocations: 44 kB / 0.8882 GB, free: 6.883 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00228/0.798, allocations: 0.6709 MB / 0.8889 GB, free: 6.211 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004194/0.7984, allocations: 318.8 kB / 0.8892 GB, free: 5.898 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005644/0.799, allocations: 288.9 kB / 0.8895 GB, free: 5.609 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002829/0.8019, allocations: 1.738 MB / 0.8912 GB, free: 3.867 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.8019, allocations: 0 / 0.8912 GB, free: 3.867 MB / 0.7012 GB Notification: Performance of FrontEnd: time 4.268e-06/0.8019, allocations: 0 / 0.8912 GB, free: 3.867 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.321e-05/0.8019, allocations: 3.938 kB / 0.8912 GB, free: 3.863 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.003129/0.805, allocations: 1.568 MB / 0.8927 GB, free: 2.238 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.8051, allocations: 8.031 kB / 0.8927 GB, free: 2.23 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002648/0.8077, allocations: 413.7 kB / 0.8931 GB, free: 1.824 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001801/0.8096, allocations: 0.926 MB / 0.894 GB, free: 0.8555 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-05/0.8097, allocations: 98.56 kB / 0.8941 GB, free: 0.7578 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.8098, allocations: 124 kB / 0.8942 GB, free: 0.6367 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002462/0.8123, allocations: 1.444 MB / 0.8956 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.8123, allocations: 0 / 0.8956 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/0.8125, allocations: 56 kB / 0.8957 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/0.8125, allocations: 35.98 kB / 0.8957 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00255/0.8151, allocations: 1.528 MB / 0.8972 GB, free: 13.49 MB / 0.7169 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.00772/0.8228, allocations: 4.92 MB / 0.902 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002403/0.8253, allocations: 1.284 MB / 0.9033 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005812/0.8259, allocations: 259.1 kB / 0.9035 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001114/0.827, allocations: 0.6216 MB / 0.9041 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=98): time 2.244e-06/0.827, allocations: 0 / 0.9041 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=98): time 0.003919/0.8309, allocations: 1.533 MB / 0.9056 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.8311, allocations: 192.9 kB / 0.9058 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.8323, allocations: 0.8306 MB / 0.9066 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/0.8324, allocations: 49.7 kB / 0.9067 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004782/0.8329, allocations: 0.566 MB / 0.9072 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002854/0.8332, allocations: 331.2 kB / 0.9075 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.062e-05/0.8333, allocations: 20 kB / 0.9075 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.8334, allocations: 341.9 kB / 0.9079 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006825/0.8341, allocations: 337.8 kB / 0.9082 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008553/0.835, allocations: 0.528 MB / 0.9087 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007544/0.8357, allocations: 410.8 kB / 0.9091 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.8358, allocations: 0 / 0.9091 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.4498/1.286, allocations: 1.089 MB / 0.9102 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/1.286, allocations: 5.844 kB / 0.9102 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/1.286, allocations: 3.594 kB / 0.9102 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006194/1.286, allocations: 87.88 kB / 0.9103 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/1.287, allocations: 227.5 kB / 0.9105 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001982/1.289, allocations: 1.548 MB / 0.912 GB, free: 177.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/1.291, allocations: 144 kB / 0.9121 GB, free: 177.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/1.291, allocations: 45.78 kB / 0.9122 GB, free: 177.9 MB / 0.7169 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.0007431/1.291, allocations: 332.2 kB / 0.9125 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/1.292, allocations: 113.9 kB / 0.9126 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003158/1.295, allocations: 1.333 MB / 0.9139 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/1.295, allocations: 10.22 kB / 0.9139 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/1.295, allocations: 0.6562 kB / 0.9139 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/1.295, allocations: 6.641 kB / 0.9139 GB, free: 177.6 MB / 0.7169 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.00524/1.3, allocations: 2.73 MB / 0.9166 GB, free: 176.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/1.3, allocations: 0.8438 kB / 0.9166 GB, free: 176.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/1.301, allocations: 214.9 kB / 0.9168 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005413/1.302, allocations: 88.88 kB / 0.9169 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.709e-05/1.302, allocations: 32.66 kB / 0.9169 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/1.304, allocations: 1.569 MB / 0.9184 GB, free: 174.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.304, allocations: 4.719 kB / 0.9184 GB, free: 174.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002809/1.306, allocations: 1.297 MB / 0.9197 GB, free: 174.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007112/1.307, allocations: 361.7 kB / 0.92 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/1.307, allocations: 23.31 kB / 0.9201 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/1.308, allocations: 111.2 kB / 0.9202 GB, free: 173.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/1.309, allocations: 85.2 kB / 0.9203 GB, free: 173.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/1.309, allocations: 48.44 kB / 0.9203 GB, free: 173.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009912/1.31, allocations: 0.578 MB / 0.9209 GB, free: 173.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.81e-07/1.31, allocations: 1.062 kB / 0.9209 GB, free: 173.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001483/1.311, allocations: 440.5 kB / 0.9213 GB, free: 173.5 MB / 0.7169 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.001502/1.313, allocations: 0.6439 MB / 0.9219 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002243/1.315, allocations: 1.031 MB / 0.9229 GB, free: 172.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.315, allocations: 1.469 kB / 0.9229 GB, free: 172.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/1.316, allocations: 0.6365 MB / 0.9235 GB, free: 172.6 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001974/1.318, allocations: 459.3 kB / 0.924 GB, free: 172.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004776/1.323, allocations: 2.98 MB / 0.9269 GB, free: 170.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005357/1.323, allocations: 1.208 MB / 0.9281 GB, free: 170.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001364/1.325, allocations: 379.5 kB / 0.9284 GB, free: 170 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003324/1.325, allocations: 133.9 kB / 0.9286 GB, free: 170 MB / 0.7169 GB Notification: Performance of SimCode: time 9.22e-07/1.325, allocations: 0 / 0.9286 GB, free: 170 MB / 0.7169 GB Notification: Performance of Templates: time 0.02945/1.354, allocations: 21.05 MB / 0.9491 GB, free: 151.3 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) Environment - environmentSimulation: