Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001128/0.001128, 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.001182/0.001182, allocations: 177 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.9415/0.9415, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7648/0.7648, allocations: 154.9 MB / 415.2 MB, free: 204 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 480.4 MB, free: 6.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.593e-05, allocations: 4.562 kB / 480.4 MB, free: 6.566 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1317/0.1317, allocations: 149.5 MB / 0.6151 GB, free: 0.8984 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01173/0.1434, allocations: 11.3 MB / 0.6262 GB, free: 5.57 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.1445, allocations: 43.69 kB / 0.6262 GB, free: 5.527 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0008141/0.1453, allocations: 348.9 kB / 0.6265 GB, free: 5.184 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.002038/0.1473, allocations: 1.091 MB / 0.6276 GB, free: 4.086 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002541/0.1499, allocations: 1.499 MB / 0.6291 GB, free: 2.582 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.002215/0.1521, allocations: 2.574 MB / 0.6316 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/0.1535, allocations: 1.339 MB / 0.6329 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002399/0.1559, allocations: 1.672 MB / 0.6345 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007473/0.1567, allocations: 0.6776 MB / 0.6352 GB, free: 12.31 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002002/0.1569, allocations: 168 kB / 0.6353 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001341/0.1582, allocations: 0.9318 MB / 0.6362 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003066/0.1585, allocations: 0.4945 MB / 0.6367 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004666/0.159, allocations: 0.5923 MB / 0.6373 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002028/0.161, allocations: 1.989 MB / 0.6392 GB, free: 8.125 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.161, allocations: 0 / 0.6392 GB, free: 8.125 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.102e-06/0.161, allocations: 0 / 0.6392 GB, free: 8.125 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.302e-05/0.1611, allocations: 0 / 0.6392 GB, free: 8.125 MB / 0.6042 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.001939/0.163, allocations: 1.921 MB / 0.6411 GB, free: 6.164 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.163, allocations: 8.031 kB / 0.6411 GB, free: 6.156 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/0.1646, allocations: 0.5998 MB / 0.6417 GB, free: 5.555 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009516/0.1655, allocations: 0.8082 MB / 0.6425 GB, free: 4.699 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.628e-05/0.1656, allocations: 106.7 kB / 0.6426 GB, free: 4.594 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.1657, allocations: 147.9 kB / 0.6428 GB, free: 4.449 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.1668, allocations: 1.498 MB / 0.6442 GB, free: 2.766 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.1668, allocations: 0 / 0.6442 GB, free: 2.766 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.732e-05/0.1669, allocations: 63.94 kB / 0.6443 GB, free: 2.703 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/0.1669, allocations: 32 kB / 0.6443 GB, free: 2.672 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008032/0.1677, allocations: 0.7685 MB / 0.6451 GB, free: 1.887 MB / 0.6042 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.00294/0.1707, allocations: 2.924 MB / 0.6479 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009516/0.1716, allocations: 0.5863 MB / 0.6485 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.1719, allocations: 189.5 kB / 0.6487 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002835/0.1722, allocations: 88.92 kB / 0.6487 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006591/0.1728, allocations: 0.7918 MB / 0.6495 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=107): time 2.835e-06/0.1728, allocations: 4 kB / 0.6495 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=107): time 0.001605/0.1744, allocations: 0.7098 MB / 0.6502 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.524e-05/0.1745, allocations: 192.9 kB / 0.6504 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005795/0.1751, allocations: 0.6458 MB / 0.651 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.306e-05/0.1752, allocations: 49.7 kB / 0.6511 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002948/0.1755, allocations: 0.5026 MB / 0.6516 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/0.1757, allocations: 372.7 kB / 0.6519 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002595/0.176, allocations: 202.7 kB / 0.6521 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1761, allocations: 349.8 kB / 0.6525 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/0.1763, allocations: 121.4 kB / 0.6526 GB, free: 9.926 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/0.1767, allocations: 417.6 kB / 0.653 GB, free: 9.441 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006175/0.1773, allocations: 477.1 kB / 0.6534 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.1773, allocations: 64 / 0.6534 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001024/0.1783, allocations: 0.5848 MB / 0.654 GB, free: 8.336 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.1783, allocations: 10.03 kB / 0.654 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.1783, allocations: 4 kB / 0.654 GB, free: 8.324 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004816/0.1788, allocations: 132.8 kB / 0.6541 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006927/0.1795, allocations: 243.6 kB / 0.6544 GB, free: 7.953 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.1807, allocations: 1.308 MB / 0.6556 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004452/0.1811, allocations: 107.4 kB / 0.6557 GB, free: 6.441 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.908e-05/0.1812, allocations: 35.97 kB / 0.6558 GB, free: 6.406 MB / 0.6198 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.0002806/0.1815, allocations: 190.3 kB / 0.656 GB, free: 6.211 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.1816, allocations: 103.8 kB / 0.6561 GB, free: 6.109 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.1829, allocations: 0.7658 MB / 0.6568 GB, free: 5.332 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.1829, allocations: 15.94 kB / 0.6568 GB, free: 5.316 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.1829, allocations: 0 / 0.6568 GB, free: 5.316 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.1829, allocations: 3.984 kB / 0.6568 GB, free: 5.312 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.185, allocations: 1.359 MB / 0.6582 GB, free: 3.926 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.185, allocations: 4 kB / 0.6582 GB, free: 3.922 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006057/0.1856, allocations: 199.7 kB / 0.6583 GB, free: 3.727 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003718/0.186, allocations: 120.7 kB / 0.6585 GB, free: 3.605 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.638e-05/0.1861, allocations: 23.98 kB / 0.6585 GB, free: 3.582 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/0.1871, allocations: 1.325 MB / 0.6598 GB, free: 2.164 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.1871, allocations: 3.938 kB / 0.6598 GB, free: 2.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009535/0.188, allocations: 0.6688 MB / 0.6604 GB, free: 1.473 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003371/0.1884, allocations: 198.8 kB / 0.6606 GB, free: 1.277 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.1885, allocations: 24 kB / 0.6607 GB, free: 1.254 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004209/0.1889, allocations: 56.03 kB / 0.6607 GB, free: 1.199 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.189, allocations: 80.83 kB / 0.6608 GB, free: 1.121 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.806e-05/0.1891, allocations: 39.97 kB / 0.6608 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003214/0.1894, allocations: 315.3 kB / 0.6611 GB, free: 0.7773 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.1894, allocations: 0 / 0.6611 GB, free: 0.7773 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001071/0.1905, allocations: 0.5103 MB / 0.6616 GB, free: 272 kB / 0.6198 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.001895/0.1924, allocations: 0.8206 MB / 0.6624 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009383/0.1934, allocations: 0.62 MB / 0.663 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/0.1934, allocations: 12.06 kB / 0.663 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005117/0.1939, allocations: 430.8 kB / 0.6634 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.1951, allocations: 482.3 kB / 0.6639 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003447/0.1985, allocations: 2.133 MB / 0.666 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.1988, allocations: 272.1 kB / 0.6663 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007706/0.1995, allocations: 268.8 kB / 0.6665 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/0.2005, allocations: 458.9 kB / 0.6669 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of SimCode: time 8.31e-07/0.2005, allocations: 0 / 0.6669 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of Templates: time 0.2599/0.4605, allocations: 24.49 MB / 0.6909 GB, free: 72.94 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.744350926019251]