Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.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.001104/0.001104, 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.001223/0.001223, 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.9695/0.9695, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.7881/0.7881, allocations: 154.9 MB / 415.1 MB, free: 228 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.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 480.3 MB, free: 6.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.068e-05, allocations: 2.312 kB / 480.3 MB, free: 6.566 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005551/0.005572, allocations: 5.322 MB / 485.6 MB, free: 1.277 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.1454/0.151, allocations: 146.3 MB / 0.6172 GB, free: 14.78 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008772/0.1518, allocations: 35.69 kB / 0.6172 GB, free: 14.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0007464/0.1526, allocations: 345.3 kB / 0.6175 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.154, allocations: 0.6132 MB / 0.6181 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.1555, allocations: 0.892 MB / 0.619 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001387/0.1569, allocations: 1.608 MB / 0.6206 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006364/0.1575, allocations: 0.5074 MB / 0.621 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009749/0.1585, allocations: 0.8575 MB / 0.6219 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004375/0.1589, allocations: 414.6 kB / 0.6223 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.1591, allocations: 120 kB / 0.6224 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007595/0.1598, allocations: 499.4 kB / 0.6229 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002077/0.16, allocations: 326.8 kB / 0.6232 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0003269/0.1603, allocations: 418.8 kB / 0.6236 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001462/0.1618, allocations: 1.37 MB / 0.6249 GB, free: 6.754 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1618, allocations: 0 / 0.6249 GB, free: 6.754 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.066e-06/0.1618, allocations: 7.984 kB / 0.6249 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.063e-05/0.1618, allocations: 0 / 0.6249 GB, free: 6.746 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001876/0.1637, allocations: 1.611 MB / 0.6265 GB, free: 5.098 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1637, allocations: 12.03 kB / 0.6265 GB, free: 5.086 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008243/0.1646, allocations: 320.2 kB / 0.6268 GB, free: 4.773 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008756/0.1654, allocations: 0.7147 MB / 0.6275 GB, free: 4.02 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.013e-05/0.1655, allocations: 78.12 kB / 0.6276 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.471e-05/0.1656, allocations: 100 kB / 0.6277 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007685/0.1664, allocations: 0.9343 MB / 0.6286 GB, free: 2.824 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.1664, allocations: 0 / 0.6286 GB, free: 2.824 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.122e-05/0.1664, allocations: 44 kB / 0.6286 GB, free: 2.781 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.1664, allocations: 27.98 kB / 0.6287 GB, free: 2.754 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005997/0.167, allocations: 0.5947 MB / 0.6292 GB, free: 2.156 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001997/0.169, allocations: 1.745 MB / 0.631 GB, free: 384 kB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004547/0.1695, allocations: 366.7 kB / 0.6313 GB, free: 12 kB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.1696, allocations: 124.6 kB / 0.6314 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.957e-05/0.1697, allocations: 28.62 kB / 0.6314 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003301/0.17, allocations: 425.9 kB / 0.6319 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=78): time 1.753e-06/0.17, allocations: 0 / 0.6319 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=78): time 0.0009881/0.171, allocations: 0.5336 MB / 0.6324 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.23e-05/0.1711, allocations: 192.5 kB / 0.6326 GB, free: 14.63 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004547/0.1715, allocations: 0.6459 MB / 0.6332 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.318e-05/0.1716, allocations: 41.7 kB / 0.6332 GB, free: 13.93 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.1718, allocations: 410.7 kB / 0.6336 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.1719, allocations: 269.7 kB / 0.6339 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.1721, allocations: 146.5 kB / 0.634 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.907e-05/0.1721, allocations: 337.9 kB / 0.6343 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.1723, allocations: 80.78 kB / 0.6344 GB, free: 12.69 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.1725, allocations: 303.6 kB / 0.6347 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.1727, allocations: 291.4 kB / 0.635 GB, free: 12.06 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1728, allocations: 0 / 0.635 GB, free: 12.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0006621/0.1734, allocations: 435 kB / 0.6354 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1734, allocations: 8 kB / 0.6354 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1734, allocations: 0 / 0.6354 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003977/0.1738, allocations: 132.7 kB / 0.6355 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.1741, allocations: 147.7 kB / 0.6357 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001043/0.1752, allocations: 1.31 MB / 0.637 GB, free: 9.934 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.1755, allocations: 67.59 kB / 0.637 GB, free: 9.867 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.1755, allocations: 19.98 kB / 0.637 GB, free: 9.848 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (92): * Single equations (assignments): 91 * 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.0003077/0.1758, allocations: 170.7 kB / 0.6372 GB, free: 9.672 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.281e-05/0.1759, allocations: 83.92 kB / 0.6373 GB, free: 9.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008325/0.1767, allocations: 0.6083 MB / 0.6379 GB, free: 8.969 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.1767, allocations: 12 kB / 0.6379 GB, free: 8.957 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.1768, allocations: 0 / 0.6379 GB, free: 8.957 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.1768, allocations: 7.984 kB / 0.6379 GB, free: 8.949 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005037/0.1773, allocations: 0.4901 MB / 0.6384 GB, free: 8.441 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.1773, allocations: 0 / 0.6384 GB, free: 8.441 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.1775, allocations: 131.8 kB / 0.6385 GB, free: 8.312 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002933/0.1778, allocations: 112.7 kB / 0.6386 GB, free: 8.199 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.1778, allocations: 19.98 kB / 0.6386 GB, free: 8.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008152/0.1787, allocations: 1.325 MB / 0.6399 GB, free: 6.754 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1787, allocations: 0 / 0.6399 GB, free: 6.754 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006899/0.1793, allocations: 485.1 kB / 0.6404 GB, free: 6.262 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002072/0.1796, allocations: 155.1 kB / 0.6405 GB, free: 6.109 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.807e-05/0.1796, allocations: 27.97 kB / 0.6406 GB, free: 6.082 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.1798, allocations: 42.06 kB / 0.6406 GB, free: 6.043 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.579e-05/0.1799, allocations: 64.88 kB / 0.6407 GB, free: 5.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.588e-05/0.1799, allocations: 23.97 kB / 0.6407 GB, free: 5.957 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002467/0.1802, allocations: 319.3 kB / 0.641 GB, free: 5.648 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.1802, allocations: 0 / 0.641 GB, free: 5.648 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006209/0.1808, allocations: 358.9 kB / 0.6413 GB, free: 5.297 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 83 * 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.001453/0.1823, allocations: 0.7458 MB / 0.6421 GB, free: 4.875 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005897/0.1829, allocations: 482 kB / 0.6425 GB, free: 4.387 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/0.1829, allocations: 8 kB / 0.6425 GB, free: 4.379 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003136/0.1832, allocations: 363.2 kB / 0.6429 GB, free: 4.008 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007797/0.184, allocations: 467.9 kB / 0.6433 GB, free: 3.59 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.1865, allocations: 1.755 MB / 0.645 GB, free: 1.801 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.1866, allocations: 218.8 kB / 0.6452 GB, free: 1.57 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004963/0.1871, allocations: 214.5 kB / 0.6454 GB, free: 1.359 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005454/0.1877, allocations: 339 kB / 0.6458 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of SimCode: time 1.342e-06/0.1877, allocations: 0 / 0.6458 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of Templates: time 0.02222/0.2099, allocations: 18.98 MB / 0.6643 GB, free: 14.4 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.814889187924564]