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.0009346/0.0009346, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009485/0.0009485, allocations: 161 kB / 24.17 MB, free: 328 kB / 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.9575/0.9575, allocations: 177.2 MB / 204.6 MB, free: 5.473 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.869/1.869, allocations: 389.6 MB / 0.6354 GB, free: 12.32 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.483e-06/1.483e-06, allocations: 0 / 0.7752 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.361e-05, allocations: 3.219 kB / 0.7752 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1271/0.1271, allocations: 149.5 MB / 0.9211 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01145/0.1385, allocations: 11.27 MB / 0.9321 GB, free: 4.27 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009775/0.1395, allocations: 39.69 kB / 0.9322 GB, free: 4.23 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0007462/0.1403, allocations: 353 kB / 0.9325 GB, free: 3.883 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001961/0.1422, allocations: 1.072 MB / 0.9336 GB, free: 2.805 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002442/0.1447, allocations: 1.511 MB / 0.935 GB, free: 1.289 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.002187/0.1469, allocations: 2.578 MB / 0.9376 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.1483, allocations: 1.279 MB / 0.9388 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002647/0.151, allocations: 1.685 MB / 0.9405 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009016/0.1519, allocations: 0.6932 MB / 0.9411 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0002143/0.1521, allocations: 168 kB / 0.9413 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.1536, allocations: 0.9318 MB / 0.9422 GB, free: 9.953 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0003138/0.1539, allocations: 0.5101 MB / 0.9427 GB, free: 9.441 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.000631/0.1545, allocations: 0.6001 MB / 0.9433 GB, free: 8.84 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002358/0.1569, allocations: 2.005 MB / 0.9452 GB, free: 6.828 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.1569, allocations: 0 / 0.9452 GB, free: 6.828 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1569, allocations: 0 / 0.9452 GB, free: 6.828 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.194e-05/0.1569, allocations: 0 / 0.9452 GB, free: 6.828 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.002192/0.1591, allocations: 1.941 MB / 0.9471 GB, free: 4.848 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.1591, allocations: 12.75 kB / 0.9471 GB, free: 4.836 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0016/0.1607, allocations: 0.6037 MB / 0.9477 GB, free: 4.23 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.1618, allocations: 0.8159 MB / 0.9485 GB, free: 3.367 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.568e-05/0.1618, allocations: 102.8 kB / 0.9486 GB, free: 3.266 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.162, allocations: 148 kB / 0.9488 GB, free: 3.121 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.1633, allocations: 1.526 MB / 0.9503 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.1633, allocations: 3.938 kB / 0.9503 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.678e-05/0.1634, allocations: 60 kB / 0.9503 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/0.1634, allocations: 36 kB / 0.9504 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008422/0.1643, allocations: 0.7613 MB / 0.9511 GB, free: 0.5391 MB / 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.003567/0.1678, allocations: 2.954 MB / 0.954 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008023/0.1686, allocations: 0.6084 MB / 0.9546 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.1688, allocations: 205.3 kB / 0.9548 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002462/0.1691, allocations: 88.91 kB / 0.9549 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005583/0.1696, allocations: 0.8049 MB / 0.9556 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=115): time 3.326e-06/0.1696, allocations: 0 / 0.9556 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of matching and sorting (n=115): time 0.001271/0.1709, allocations: 0.7293 MB / 0.9564 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.569e-05/0.171, allocations: 208.8 kB / 0.9566 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004587/0.1715, allocations: 0.6419 MB / 0.9572 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 6.704e-05/0.1715, allocations: 57.7 kB / 0.9572 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.1717, allocations: 0.4989 MB / 0.9577 GB, free: 9.508 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/0.1719, allocations: 396.6 kB / 0.9581 GB, free: 9.117 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/0.1722, allocations: 218.7 kB / 0.9583 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.923e-05/0.1722, allocations: 349.8 kB / 0.9586 GB, free: 8.547 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.1724, allocations: 137.4 kB / 0.9588 GB, free: 8.414 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002943/0.1727, allocations: 415.6 kB / 0.9592 GB, free: 7.93 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004923/0.1732, allocations: 0.5103 MB / 0.9597 GB, free: 7.375 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.1732, allocations: 0 / 0.9597 GB, free: 7.375 MB / 0.9167 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001071/0.1743, allocations: 0.6216 MB / 0.9603 GB, free: 6.742 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.1743, allocations: 8 kB / 0.9603 GB, free: 6.734 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1743, allocations: 4 kB / 0.9603 GB, free: 6.73 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003913/0.1747, allocations: 132.7 kB / 0.9604 GB, free: 6.598 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000562/0.1753, allocations: 259.6 kB / 0.9607 GB, free: 6.344 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/0.1763, allocations: 1.316 MB / 0.962 GB, free: 4.938 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004161/0.1767, allocations: 115.3 kB / 0.9621 GB, free: 4.824 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.642e-05/0.1768, allocations: 44 kB / 0.9621 GB, free: 4.781 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.0003068/0.1771, allocations: 195 kB / 0.9623 GB, free: 4.578 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.1772, allocations: 107.9 kB / 0.9624 GB, free: 4.473 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.1782, allocations: 0.7753 MB / 0.9632 GB, free: 3.684 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.1782, allocations: 12 kB / 0.9632 GB, free: 3.672 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.1782, allocations: 3.938 kB / 0.9632 GB, free: 3.664 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.1782, allocations: 11.97 kB / 0.9632 GB, free: 3.652 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/0.1802, allocations: 1.505 MB / 0.9646 GB, free: 2.105 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.1802, allocations: 0 / 0.9646 GB, free: 2.105 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004662/0.1806, allocations: 211.7 kB / 0.9648 GB, free: 1.898 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003183/0.181, allocations: 108.8 kB / 0.965 GB, free: 1.789 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.045e-05/0.181, allocations: 31.97 kB / 0.965 GB, free: 1.758 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008881/0.1819, allocations: 1.336 MB / 0.9663 GB, free: 340 kB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1819, allocations: 0 / 0.9663 GB, free: 340 kB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008294/0.1827, allocations: 0.6986 MB / 0.967 GB, free: 15.61 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005056/0.1832, allocations: 190.9 kB / 0.9672 GB, free: 15.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.1833, allocations: 31.98 kB / 0.9672 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.1837, allocations: 49.19 kB / 0.9672 GB, free: 15.35 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.1838, allocations: 85.14 kB / 0.9673 GB, free: 15.26 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.912e-05/0.1838, allocations: 35.97 kB / 0.9673 GB, free: 15.23 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002721/0.1841, allocations: 323.3 kB / 0.9677 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1841, allocations: 0 / 0.9677 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0009961/0.1851, allocations: 0.522 MB / 0.9682 GB, free: 14.39 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.001739/0.1868, allocations: 0.836 MB / 0.969 GB, free: 13.82 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.000934/0.1878, allocations: 0.6575 MB / 0.9696 GB, free: 13.15 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-05/0.1878, allocations: 19.72 kB / 0.9696 GB, free: 13.13 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004321/0.1882, allocations: 441.3 kB / 0.9701 GB, free: 12.69 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.1893, allocations: 488 kB / 0.9705 GB, free: 12.24 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00301/0.1923, allocations: 2.142 MB / 0.9726 GB, free: 10.04 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.1925, allocations: 272.2 kB / 0.9729 GB, free: 9.754 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.000757/0.1932, allocations: 269.1 kB / 0.9731 GB, free: 9.488 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008333/0.1941, allocations: 470.8 kB / 0.9736 GB, free: 9.023 MB / 0.9323 GB Notification: Performance of SimCode: time 1.182e-06/0.1941, allocations: 0 / 0.9736 GB, free: 9.023 MB / 0.9323 GB Notification: Performance of Templates: time 0.02931/0.2234, allocations: 24.78 MB / 0.9978 GB, free: 0.7148 MB / 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.89409453375265]