Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 85.45 kB / 21.62 MB, free: 2.84 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 167.9 kB / 25.04 MB, free: 9.195 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9197/0.9197, allocations: 177.1 MB / 205.5 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.823/1.823, allocations: 389.6 MB / 0.6363 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.7761 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.453e-05, allocations: 2.312 kB / 0.7761 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1316/0.1316, allocations: 149.5 MB / 0.9222 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01185/0.1435, allocations: 11.24 MB / 0.9331 GB, free: 4.109 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.1446, allocations: 43.69 kB / 0.9332 GB, free: 4.066 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0008587/0.1455, allocations: 348.9 kB / 0.9335 GB, free: 3.723 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002439/0.1479, allocations: 1.06 MB / 0.9346 GB, free: 2.656 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002788/0.1507, allocations: 1.468 MB / 0.936 GB, free: 1.184 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.00238/0.1531, allocations: 2.582 MB / 0.9385 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002155/0.1553, allocations: 1.442 MB / 0.9399 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002061/0.1573, allocations: 1.562 MB / 0.9414 GB, free: 11.62 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007135/0.158, allocations: 0.6932 MB / 0.9421 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001666/0.1582, allocations: 168 kB / 0.9423 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/0.1597, allocations: 0.9826 MB / 0.9432 GB, free: 9.781 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002851/0.16, allocations: 0.5023 MB / 0.9437 GB, free: 9.277 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.000483/0.1605, allocations: 0.5923 MB / 0.9443 GB, free: 8.684 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002436/0.1629, allocations: 2.013 MB / 0.9463 GB, free: 6.664 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1629, allocations: 0 / 0.9463 GB, free: 6.664 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1629, allocations: 0 / 0.9463 GB, free: 6.664 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.879e-05/0.1629, allocations: 0 / 0.9463 GB, free: 6.664 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.00197/0.1649, allocations: 1.945 MB / 0.9482 GB, free: 4.68 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.1649, allocations: 8.75 kB / 0.9482 GB, free: 4.672 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/0.1666, allocations: 0.6075 MB / 0.9488 GB, free: 4.062 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.1676, allocations: 0.8121 MB / 0.9496 GB, free: 3.203 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.009e-05/0.1677, allocations: 102.8 kB / 0.9497 GB, free: 3.102 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.1678, allocations: 148 kB / 0.9498 GB, free: 2.957 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.169, allocations: 1.522 MB / 0.9513 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.1691, allocations: 0 / 0.9513 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.382e-05/0.1691, allocations: 60 kB / 0.9513 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/0.1692, allocations: 32 kB / 0.9514 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008502/0.17, allocations: 0.7652 MB / 0.9521 GB, free: 392 kB / 0.9011 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.003412/0.1734, allocations: 2.952 MB / 0.955 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000963/0.1744, allocations: 0.6084 MB / 0.9556 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.1746, allocations: 205.3 kB / 0.9558 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002629/0.1749, allocations: 84.92 kB / 0.9559 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005585/0.1754, allocations: 0.8147 MB / 0.9567 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=115): time 2.816e-06/0.1754, allocations: 0 / 0.9567 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of matching and sorting (n=115): time 0.001332/0.1767, allocations: 0.7332 MB / 0.9574 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.291e-05/0.1768, allocations: 200.9 kB / 0.9576 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005008/0.1773, allocations: 0.6458 MB / 0.9582 GB, free: 9.914 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 6.483e-05/0.1774, allocations: 57.69 kB / 0.9583 GB, free: 9.852 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002467/0.1776, allocations: 0.4989 MB / 0.9588 GB, free: 9.348 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/0.1778, allocations: 388.6 kB / 0.9591 GB, free: 8.965 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/0.178, allocations: 226.7 kB / 0.9593 GB, free: 8.734 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.672e-05/0.1781, allocations: 353.8 kB / 0.9597 GB, free: 8.383 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.1783, allocations: 129.4 kB / 0.9598 GB, free: 8.258 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/0.1786, allocations: 427.5 kB / 0.9602 GB, free: 7.762 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004735/0.179, allocations: 0.5064 MB / 0.9607 GB, free: 7.211 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.179, allocations: 0 / 0.9607 GB, free: 7.211 MB / 0.9167 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.0008078/0.1799, allocations: 0.6217 MB / 0.9613 GB, free: 6.578 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1799, allocations: 8 kB / 0.9613 GB, free: 6.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.1799, allocations: 7.938 kB / 0.9613 GB, free: 6.562 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004058/0.1803, allocations: 124.7 kB / 0.9614 GB, free: 6.438 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006332/0.1809, allocations: 295.5 kB / 0.9617 GB, free: 6.148 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/0.1821, allocations: 1.325 MB / 0.963 GB, free: 4.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004087/0.1825, allocations: 107.3 kB / 0.9631 GB, free: 4.625 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-05/0.1826, allocations: 31.97 kB / 0.9632 GB, free: 4.594 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002837/0.1829, allocations: 198.9 kB / 0.9633 GB, free: 4.387 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.183, allocations: 111.9 kB / 0.9635 GB, free: 4.277 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009673/0.1839, allocations: 0.7755 MB / 0.9642 GB, free: 3.484 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.184, allocations: 12 kB / 0.9642 GB, free: 3.473 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.184, allocations: 3.938 kB / 0.9642 GB, free: 3.469 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.184, allocations: 3.984 kB / 0.9642 GB, free: 3.465 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.1858, allocations: 1.508 MB / 0.9657 GB, free: 1.914 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.1858, allocations: 0 / 0.9657 GB, free: 1.914 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005343/0.1863, allocations: 238.5 kB / 0.9659 GB, free: 1.68 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003074/0.1866, allocations: 116.7 kB / 0.966 GB, free: 1.562 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.217e-05/0.1866, allocations: 23.98 kB / 0.9661 GB, free: 1.539 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008332/0.1875, allocations: 1.34 MB / 0.9674 GB, free: 112 kB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1875, allocations: 4 kB / 0.9674 GB, free: 108 kB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000757/0.1882, allocations: 0.7013 MB / 0.9681 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/0.1885, allocations: 191 kB / 0.9682 GB, free: 15.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.217e-05/0.1886, allocations: 31.98 kB / 0.9683 GB, free: 15.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003118/0.1889, allocations: 47.97 kB / 0.9683 GB, free: 15.12 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.189, allocations: 85.14 kB / 0.9684 GB, free: 15.03 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.404e-05/0.1891, allocations: 35.95 kB / 0.9684 GB, free: 15 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000216/0.1893, allocations: 304.5 kB / 0.9687 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.1893, allocations: 0 / 0.9687 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001005/0.1903, allocations: 0.5297 MB / 0.9692 GB, free: 14.17 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001568/0.1918, allocations: 0.8449 MB / 0.9701 GB, free: 13.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0007628/0.1926, allocations: 0.6568 MB / 0.9707 GB, free: 12.93 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.257e-05/0.1926, allocations: 19.66 kB / 0.9707 GB, free: 12.91 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003878/0.193, allocations: 446.2 kB / 0.9712 GB, free: 12.46 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008707/0.1939, allocations: 479.2 kB / 0.9716 GB, free: 12.01 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.1964, allocations: 2.149 MB / 0.9737 GB, free: 9.812 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001658/0.1966, allocations: 272.2 kB / 0.974 GB, free: 9.523 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0006514/0.1973, allocations: 273 kB / 0.9742 GB, free: 9.254 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007838/0.198, allocations: 462.9 kB / 0.9747 GB, free: 8.797 MB / 0.9323 GB Notification: Performance of SimCode: time 1.183e-06/0.198, allocations: 0 / 0.9747 GB, free: 8.797 MB / 0.9323 GB Notification: Performance of Templates: time 0.02874/0.2268, allocations: 24.79 MB / 0.9989 GB, free: 484 kB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_13_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_13_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.650180954486132]