Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009467/0.0009467, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001052/0.001052, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.968/0.968, allocations: 177.2 MB / 203.8 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001751/0.001751, allocations: 254.1 kB / 260.5 MB, free: 12.68 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7114/0.7114, allocations: 138.4 MB / 402.2 MB, free: 0.5547 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 462.3 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.129e-05/1.284e-05, allocations: 5.375 kB / 462.4 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1389/0.1389, allocations: 149.5 MB / 0.5975 GB, free: 12.85 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01435/0.1533, allocations: 11.27 MB / 0.6085 GB, free: 1.559 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001391/0.1547, allocations: 43.62 kB / 0.6086 GB, free: 1.516 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.000909/0.1556, allocations: 349 kB / 0.6089 GB, free: 1.172 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002638/0.1582, allocations: 1.079 MB / 0.61 GB, free: 92 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002679/0.1609, allocations: 1.478 MB / 0.6114 GB, free: 14.61 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002401/0.1633, allocations: 2.586 MB / 0.6139 GB, free: 12.02 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002306/0.1656, allocations: 1.489 MB / 0.6154 GB, free: 10.54 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002427/0.168, allocations: 1.557 MB / 0.6169 GB, free: 9.039 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006761/0.1687, allocations: 0.6871 MB / 0.6176 GB, free: 8.352 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.1689, allocations: 160 kB / 0.6177 GB, free: 8.195 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.1703, allocations: 0.9747 MB / 0.6187 GB, free: 7.219 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003004/0.1706, allocations: 0.4906 MB / 0.6192 GB, free: 6.727 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004073/0.171, allocations: 0.5884 MB / 0.6197 GB, free: 6.137 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001797/0.1728, allocations: 1.993 MB / 0.6217 GB, free: 4.137 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1728, allocations: 4 kB / 0.6217 GB, free: 4.133 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.173e-06/0.1728, allocations: 0 / 0.6217 GB, free: 4.133 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.1728, allocations: 0 / 0.6217 GB, free: 4.133 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.001727/0.1745, allocations: 1.92 MB / 0.6236 GB, free: 2.176 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.1746, allocations: 8.75 kB / 0.6236 GB, free: 2.168 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001673/0.1762, allocations: 0.6042 MB / 0.6242 GB, free: 1.562 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009634/0.1772, allocations: 0.8179 MB / 0.625 GB, free: 0.7031 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.139e-05/0.1773, allocations: 98.72 kB / 0.6251 GB, free: 0.6055 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.1774, allocations: 140 kB / 0.6252 GB, free: 480 kB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.1785, allocations: 1.509 MB / 0.6267 GB, free: 14.78 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.1786, allocations: 0 / 0.6267 GB, free: 14.78 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-05/0.1786, allocations: 63.94 kB / 0.6267 GB, free: 14.71 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.1786, allocations: 33 kB / 0.6268 GB, free: 14.68 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009328/0.1796, allocations: 0.7569 MB / 0.6275 GB, free: 13.91 MB / 0.5886 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.002858/0.1824, allocations: 2.93 MB / 0.6304 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.1835, allocations: 0.5864 MB / 0.6309 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.1837, allocations: 177 kB / 0.6311 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002329/0.1839, allocations: 96.91 kB / 0.6312 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000509/0.1844, allocations: 0.7964 MB / 0.632 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=107): time 2.044e-06/0.1844, allocations: 0 / 0.632 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of matching and sorting (n=107): time 0.001272/0.1857, allocations: 0.706 MB / 0.6327 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.1858, allocations: 192.9 kB / 0.6328 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004258/0.1862, allocations: 0.6458 MB / 0.6335 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.944e-05/0.1862, allocations: 49.69 kB / 0.6335 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.1865, allocations: 0.5026 MB / 0.634 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/0.1866, allocations: 380.7 kB / 0.6344 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/0.1868, allocations: 198.7 kB / 0.6346 GB, free: 6.43 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.914e-05/0.1869, allocations: 349.9 kB / 0.6349 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.1871, allocations: 117.4 kB / 0.635 GB, free: 5.965 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002823/0.1874, allocations: 414.1 kB / 0.6354 GB, free: 5.488 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004742/0.1879, allocations: 481.1 kB / 0.6359 GB, free: 4.973 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.1879, allocations: 7.25 kB / 0.6359 GB, free: 4.969 MB / 0.5886 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0007682/0.1886, allocations: 0.5927 MB / 0.6364 GB, free: 4.367 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1887, allocations: 4 kB / 0.6364 GB, free: 4.363 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.1887, allocations: 4 kB / 0.6365 GB, free: 4.359 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003992/0.1891, allocations: 133.4 kB / 0.6366 GB, free: 4.227 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006064/0.1897, allocations: 267.6 kB / 0.6368 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.191, allocations: 1.308 MB / 0.6381 GB, free: 2.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003416/0.1913, allocations: 111.3 kB / 0.6382 GB, free: 2.461 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.388e-05/0.1914, allocations: 31.97 kB / 0.6382 GB, free: 2.43 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (131): * Single equations (assignments): 130 * 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.000238/0.1916, allocations: 191.3 kB / 0.6384 GB, free: 2.234 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.1917, allocations: 106.9 kB / 0.6385 GB, free: 2.133 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.1927, allocations: 0.7541 MB / 0.6393 GB, free: 1.371 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.1927, allocations: 15.94 kB / 0.6393 GB, free: 1.355 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.1927, allocations: 3.984 kB / 0.6393 GB, free: 1.352 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.1927, allocations: 3.984 kB / 0.6393 GB, free: 1.348 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.1943, allocations: 1.363 MB / 0.6406 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1943, allocations: 0 / 0.6406 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005554/0.1949, allocations: 242.5 kB / 0.6409 GB, free: 15.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003015/0.1952, allocations: 114.2 kB / 0.641 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-05/0.1952, allocations: 27.97 kB / 0.641 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008696/0.1961, allocations: 1.323 MB / 0.6423 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1961, allocations: 3.938 kB / 0.6423 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000772/0.1969, allocations: 0.6716 MB / 0.6429 GB, free: 13.47 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002583/0.1971, allocations: 194.9 kB / 0.6431 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.39e-05/0.1972, allocations: 24.88 kB / 0.6432 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/0.1975, allocations: 58.77 kB / 0.6432 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.1977, allocations: 81.53 kB / 0.6433 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.025e-05/0.1977, allocations: 35.95 kB / 0.6433 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002361/0.198, allocations: 312.5 kB / 0.6436 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.198, allocations: 0 / 0.6436 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007929/0.1987, allocations: 0.518 MB / 0.6441 GB, free: 12.26 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001896/0.2006, allocations: 0.8286 MB / 0.6449 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007315/0.2014, allocations: 0.6189 MB / 0.6455 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/0.2014, allocations: 15.91 kB / 0.6456 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003988/0.2018, allocations: 426.8 kB / 0.646 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009213/0.2027, allocations: 490.7 kB / 0.6464 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.2053, allocations: 2.142 MB / 0.6485 GB, free: 8.074 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.2054, allocations: 272.1 kB / 0.6488 GB, free: 7.777 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005833/0.206, allocations: 270.7 kB / 0.649 GB, free: 7.512 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008481/0.2069, allocations: 454.9 kB / 0.6495 GB, free: 7.059 MB / 0.6042 GB Notification: Performance of SimCode: time 8.82e-07/0.2069, allocations: 0 / 0.6495 GB, free: 7.059 MB / 0.6042 GB Notification: Performance of Templates: time 0.2477/0.4546, allocations: 24.51 MB / 0.6734 GB, free: 75.33 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.78934366768226]