Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007508/0.0007508, 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.0009126/0.0009126, 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 0.9497/0.9497, 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 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7337/0.7337, allocations: 154.6 MB / 414.8 MB, free: 496 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 479.9 MB, free: 6.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119e-05/1.246e-05, allocations: 5.266 kB / 480 MB, free: 6.926 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.004792/0.004804, allocations: 5.319 MB / 485.3 MB, free: 1.641 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.143/0.1478, allocations: 146.3 MB / 0.6168 GB, free: 15.15 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008667/0.1487, allocations: 35.69 kB / 0.6168 GB, free: 15.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000661/0.1493, allocations: 345.2 kB / 0.6171 GB, free: 14.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.1507, allocations: 0.6132 MB / 0.6177 GB, free: 14.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.152, allocations: 0.8959 MB / 0.6186 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001068/0.153, allocations: 1.6 MB / 0.6202 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000558/0.1536, allocations: 0.5151 MB / 0.6207 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.1546, allocations: 0.8497 MB / 0.6215 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003788/0.155, allocations: 418.5 kB / 0.6219 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.1551, allocations: 124 kB / 0.622 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006486/0.1558, allocations: 499.4 kB / 0.6225 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.156, allocations: 326.8 kB / 0.6228 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002676/0.1563, allocations: 410.9 kB / 0.6232 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.1574, allocations: 1.374 MB / 0.6246 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1574, allocations: 8 kB / 0.6246 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1574, allocations: 0 / 0.6246 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.1574, allocations: 0 / 0.6246 GB, free: 7.105 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.001363/0.1587, allocations: 1.615 MB / 0.6261 GB, free: 5.453 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.1588, allocations: 12.02 kB / 0.6262 GB, free: 5.441 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006842/0.1595, allocations: 316.2 kB / 0.6265 GB, free: 5.133 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00072/0.1602, allocations: 0.7147 MB / 0.6272 GB, free: 4.379 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.02e-05/0.1602, allocations: 78.12 kB / 0.6272 GB, free: 4.301 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.596e-05/0.1603, allocations: 100 kB / 0.6273 GB, free: 4.203 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008748/0.1612, allocations: 0.9304 MB / 0.6282 GB, free: 3.188 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.1612, allocations: 3.938 kB / 0.6282 GB, free: 3.184 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.731e-05/0.1612, allocations: 47.97 kB / 0.6283 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.1612, allocations: 24 kB / 0.6283 GB, free: 3.113 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005498/0.1618, allocations: 0.5948 MB / 0.6289 GB, free: 2.516 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.1635, allocations: 1.749 MB / 0.6306 GB, free: 0.7266 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004161/0.1639, allocations: 362.7 kB / 0.6309 GB, free: 376 kB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.164, allocations: 126.8 kB / 0.6311 GB, free: 248 kB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.063e-05/0.1641, allocations: 20.64 kB / 0.6311 GB, free: 224 kB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000304/0.1644, allocations: 429.9 kB / 0.6315 GB, free: 15.76 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=78): time 1.833e-06/0.1644, allocations: 0 / 0.6315 GB, free: 15.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=78): time 0.0008933/0.1653, allocations: 0.5414 MB / 0.632 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.1653, allocations: 188.6 kB / 0.6322 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003967/0.1657, allocations: 0.6303 MB / 0.6328 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.03e-05/0.1657, allocations: 45.7 kB / 0.6329 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.1659, allocations: 414.6 kB / 0.6333 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.166, allocations: 265.7 kB / 0.6335 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.1662, allocations: 150.5 kB / 0.6336 GB, free: 13.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.049e-05/0.1662, allocations: 333.9 kB / 0.634 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.1663, allocations: 84.78 kB / 0.634 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.1665, allocations: 303.6 kB / 0.6343 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.1668, allocations: 291.4 kB / 0.6346 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1668, allocations: 0 / 0.6346 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007792/0.1676, allocations: 435 kB / 0.635 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1676, allocations: 6.5 kB / 0.635 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1676, allocations: 4 kB / 0.635 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003582/0.168, allocations: 128.7 kB / 0.6352 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.1682, allocations: 143.8 kB / 0.6353 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008888/0.1691, allocations: 1.312 MB / 0.6366 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.1694, allocations: 69.7 kB / 0.6366 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/0.1694, allocations: 23.97 kB / 0.6367 GB, free: 10.21 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.0001834/0.1696, allocations: 170.8 kB / 0.6368 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.542e-05/0.1697, allocations: 87.91 kB / 0.6369 GB, free: 9.949 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007395/0.1704, allocations: 0.6004 MB / 0.6375 GB, free: 9.336 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1704, allocations: 8 kB / 0.6375 GB, free: 9.328 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.1704, allocations: 4 kB / 0.6375 GB, free: 9.324 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1704, allocations: 7.984 kB / 0.6375 GB, free: 9.316 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004255/0.1708, allocations: 0.4901 MB / 0.638 GB, free: 8.809 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1708, allocations: 3.984 kB / 0.638 GB, free: 8.805 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/0.1711, allocations: 127.8 kB / 0.6381 GB, free: 8.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002802/0.1714, allocations: 104.8 kB / 0.6382 GB, free: 8.574 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.1714, allocations: 31.91 kB / 0.6383 GB, free: 8.543 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007484/0.1722, allocations: 1.325 MB / 0.6396 GB, free: 7.125 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1722, allocations: 0 / 0.6396 GB, free: 7.125 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005341/0.1727, allocations: 485.1 kB / 0.64 GB, free: 6.629 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000183/0.1729, allocations: 159.1 kB / 0.6402 GB, free: 6.473 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.408e-05/0.1729, allocations: 16 kB / 0.6402 GB, free: 6.457 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.1731, allocations: 35.97 kB / 0.6402 GB, free: 6.422 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.392e-05/0.1732, allocations: 68.86 kB / 0.6403 GB, free: 6.355 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.1732, allocations: 19.98 kB / 0.6403 GB, free: 6.336 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002317/0.1735, allocations: 323.3 kB / 0.6406 GB, free: 6.023 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1735, allocations: 4 kB / 0.6406 GB, free: 6.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004272/0.1739, allocations: 362.8 kB / 0.641 GB, free: 5.664 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.001323/0.1752, allocations: 0.7443 MB / 0.6417 GB, free: 5.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005109/0.1757, allocations: 489.9 kB / 0.6422 GB, free: 4.754 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.1757, allocations: 8 kB / 0.6422 GB, free: 4.746 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005189/0.1762, allocations: 355.2 kB / 0.6425 GB, free: 4.387 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006925/0.1769, allocations: 470.6 kB / 0.6429 GB, free: 3.965 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.1791, allocations: 1.757 MB / 0.6447 GB, free: 2.16 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.1793, allocations: 210.8 kB / 0.6449 GB, free: 1.938 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004959/0.1798, allocations: 215.4 kB / 0.6451 GB, free: 1.723 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006753/0.1804, allocations: 339 kB / 0.6454 GB, free: 1.391 MB / 0.6042 GB Notification: Performance of SimCode: time 7.92e-07/0.1804, allocations: 0 / 0.6454 GB, free: 1.391 MB / 0.6042 GB Notification: Performance of Templates: time 0.02544/0.2059, allocations: 18.97 MB / 0.6639 GB, free: 14.78 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.545765963383019]