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.001313/0.001313, allocations: 76.94 kB / 19.93 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.001727/0.001727, allocations: 172.9 kB / 23.36 MB, free: 1.125 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 1.046/1.046, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.7747/0.7747, allocations: 154.9 MB / 415.1 MB, free: 220 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.633e-06/1.633e-06, allocations: 0 / 480.4 MB, free: 6.504 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.297e-05/2.461e-05, allocations: 4.422 kB / 480.4 MB, free: 6.5 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1456/0.1457, allocations: 149.6 MB / 0.6152 GB, free: 0.8008 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01259/0.1582, allocations: 11.31 MB / 0.6262 GB, free: 5.473 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.1593, allocations: 43.62 kB / 0.6263 GB, free: 5.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006997/0.16, allocations: 341 kB / 0.6266 GB, free: 5.094 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001854/0.1618, allocations: 1.079 MB / 0.6277 GB, free: 4.008 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002322/0.1641, allocations: 1.464 MB / 0.6291 GB, free: 2.539 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.002004/0.1661, allocations: 2.574 MB / 0.6316 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001955/0.1681, allocations: 1.502 MB / 0.6331 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001934/0.17, allocations: 1.542 MB / 0.6346 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006236/0.1707, allocations: 0.6738 MB / 0.6352 GB, free: 12.26 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.1708, allocations: 163.9 kB / 0.6354 GB, free: 12.1 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/0.1722, allocations: 0.9864 MB / 0.6363 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002804/0.1724, allocations: 498.4 kB / 0.6368 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004032/0.1728, allocations: 0.5884 MB / 0.6374 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002001/0.1748, allocations: 1.993 MB / 0.6393 GB, free: 8.035 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1748, allocations: 0 / 0.6393 GB, free: 8.035 MB / 0.6042 GB Notification: Performance of FrontEnd: time 9.12e-07/0.1748, allocations: 0 / 0.6393 GB, free: 8.035 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.1749, allocations: 0 / 0.6393 GB, free: 8.035 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.001868/0.1767, allocations: 1.929 MB / 0.6412 GB, free: 6.066 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.1768, allocations: 8.031 kB / 0.6412 GB, free: 6.059 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001782/0.1785, allocations: 0.6036 MB / 0.6418 GB, free: 5.453 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009739/0.1795, allocations: 0.8043 MB / 0.6426 GB, free: 4.602 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.807e-05/0.1796, allocations: 102.7 kB / 0.6427 GB, free: 4.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.1797, allocations: 144 kB / 0.6428 GB, free: 4.359 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.181, allocations: 1.501 MB / 0.6443 GB, free: 2.672 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.181, allocations: 3.938 kB / 0.6443 GB, free: 2.668 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.57e-05/0.1811, allocations: 63.94 kB / 0.6444 GB, free: 2.605 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.1811, allocations: 32 kB / 0.6444 GB, free: 2.574 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008207/0.1819, allocations: 0.7569 MB / 0.6451 GB, free: 1.801 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.003287/0.1852, allocations: 2.928 MB / 0.648 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007662/0.1859, allocations: 0.5868 MB / 0.6486 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.1862, allocations: 185.5 kB / 0.6488 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002421/0.1864, allocations: 88.91 kB / 0.6488 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005362/0.1869, allocations: 0.7854 MB / 0.6496 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=107): time 4.167e-06/0.1869, allocations: 7.984 kB / 0.6496 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=107): time 0.0013/0.1882, allocations: 0.7059 MB / 0.6503 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.1883, allocations: 200.9 kB / 0.6505 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004541/0.1888, allocations: 0.6419 MB / 0.6511 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.845e-05/0.1888, allocations: 49.69 kB / 0.6512 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/0.189, allocations: 0.5026 MB / 0.6517 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.1892, allocations: 376.7 kB / 0.652 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.1894, allocations: 198.7 kB / 0.6522 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.98e-05/0.1895, allocations: 349.8 kB / 0.6525 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.1897, allocations: 125.4 kB / 0.6527 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.19, allocations: 407.2 kB / 0.6531 GB, free: 9.359 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000472/0.1905, allocations: 489.1 kB / 0.6535 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1905, allocations: 0 / 0.6535 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001046/0.1915, allocations: 0.581 MB / 0.6541 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.1915, allocations: 8 kB / 0.6541 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.1915, allocations: 7.938 kB / 0.6541 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004027/0.1919, allocations: 128.7 kB / 0.6542 GB, free: 8.102 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006126/0.1925, allocations: 267.6 kB / 0.6545 GB, free: 7.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/0.1936, allocations: 1.324 MB / 0.6558 GB, free: 6.418 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003733/0.1939, allocations: 95.38 kB / 0.6559 GB, free: 6.324 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.643e-05/0.194, allocations: 35.97 kB / 0.6559 GB, free: 6.289 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.0002436/0.1942, allocations: 194.3 kB / 0.6561 GB, free: 6.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.1943, allocations: 99.91 kB / 0.6562 GB, free: 5.992 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/0.1954, allocations: 0.7502 MB / 0.6569 GB, free: 5.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.1954, allocations: 19.92 kB / 0.6569 GB, free: 5.211 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1954, allocations: 4 kB / 0.6569 GB, free: 5.207 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.1954, allocations: 3.984 kB / 0.6569 GB, free: 5.203 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.1971, allocations: 1.367 MB / 0.6583 GB, free: 3.809 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1971, allocations: 0 / 0.6583 GB, free: 3.809 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005571/0.1976, allocations: 242.5 kB / 0.6585 GB, free: 3.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003194/0.1979, allocations: 112.7 kB / 0.6586 GB, free: 3.457 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.555e-05/0.198, allocations: 31.95 kB / 0.6586 GB, free: 3.426 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008752/0.1989, allocations: 1.325 MB / 0.6599 GB, free: 2.008 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1989, allocations: 3.938 kB / 0.6599 GB, free: 2.004 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007578/0.1996, allocations: 0.6676 MB / 0.6606 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005125/0.2001, allocations: 202.8 kB / 0.6608 GB, free: 1.117 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.911e-05/0.2002, allocations: 20 kB / 0.6608 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000318/0.2005, allocations: 58.05 kB / 0.6609 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.2006, allocations: 80.84 kB / 0.6609 GB, free: 0.9648 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.108e-05/0.2007, allocations: 39.95 kB / 0.661 GB, free: 0.9258 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002355/0.2009, allocations: 312.5 kB / 0.6613 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.2009, allocations: 0 / 0.6613 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000842/0.2018, allocations: 0.5103 MB / 0.6618 GB, free: 116 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.001642/0.2034, allocations: 0.8282 MB / 0.6626 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007586/0.2042, allocations: 0.6192 MB / 0.6632 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.228e-06/0.2042, allocations: 8 kB / 0.6632 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003927/0.2046, allocations: 427.7 kB / 0.6636 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009404/0.2055, allocations: 492.1 kB / 0.6641 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002667/0.2082, allocations: 2.135 MB / 0.6662 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001709/0.2084, allocations: 272.1 kB / 0.6664 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006418/0.209, allocations: 264.8 kB / 0.6667 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008338/0.2098, allocations: 458.9 kB / 0.6671 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of SimCode: time 1.222e-06/0.2098, allocations: 0 / 0.6671 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of Templates: time 0.2587/0.4685, allocations: 24.49 MB / 0.691 GB, free: 72.87 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.7713384446688]