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.0009658/0.0009658, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009883/0.0009883, allocations: 177 kB / 23.36 MB, free: 1.133 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.136/1.136, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.8045/0.8045, allocations: 154.6 MB / 414.8 MB, free: 0.5195 MB / 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.803e-06/1.803e-06, allocations: 0 / 480 MB, free: 6.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.236e-05, allocations: 5.859 kB / 480 MB, free: 6.945 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.00525/0.005273, allocations: 5.356 MB / 485.4 MB, free: 1.629 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.1516/0.1568, allocations: 146.3 MB / 0.6169 GB, free: 15.14 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.1581, allocations: 35.62 kB / 0.6169 GB, free: 15.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0007786/0.1588, allocations: 349.3 kB / 0.6172 GB, free: 14.76 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001535/0.1604, allocations: 0.582 MB / 0.6178 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.162, allocations: 0.8841 MB / 0.6187 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001348/0.1633, allocations: 1.612 MB / 0.6203 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006808/0.164, allocations: 0.5035 MB / 0.6207 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009105/0.1649, allocations: 0.8535 MB / 0.6216 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004744/0.1654, allocations: 414.7 kB / 0.622 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.1655, allocations: 124 kB / 0.6221 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000762/0.1663, allocations: 0.5149 MB / 0.6226 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002235/0.1665, allocations: 330.8 kB / 0.6229 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0003301/0.1668, allocations: 414.8 kB / 0.6233 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.1685, allocations: 1.374 MB / 0.6246 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.1685, allocations: 0 / 0.6246 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.31e-07/0.1685, allocations: 0 / 0.6246 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.1685, allocations: 0 / 0.6246 GB, free: 7.109 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.001723/0.1703, allocations: 1.611 MB / 0.6262 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.1703, allocations: 8.031 kB / 0.6262 GB, free: 5.453 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.1713, allocations: 320.2 kB / 0.6265 GB, free: 5.141 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009648/0.1723, allocations: 0.7224 MB / 0.6272 GB, free: 4.379 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.69e-05/0.1724, allocations: 74.12 kB / 0.6273 GB, free: 4.305 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.794e-05/0.1725, allocations: 100 kB / 0.6274 GB, free: 4.207 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008945/0.1734, allocations: 0.9382 MB / 0.6283 GB, free: 3.184 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.1734, allocations: 0 / 0.6283 GB, free: 3.184 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-05/0.1734, allocations: 40 kB / 0.6284 GB, free: 3.145 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.1735, allocations: 24 kB / 0.6284 GB, free: 3.121 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000811/0.1743, allocations: 0.5986 MB / 0.629 GB, free: 2.52 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002278/0.1765, allocations: 1.74 MB / 0.6307 GB, free: 0.7422 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007735/0.1773, allocations: 378.6 kB / 0.631 GB, free: 376 kB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.1775, allocations: 126.7 kB / 0.6311 GB, free: 248 kB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.341e-05/0.1775, allocations: 40.61 kB / 0.6312 GB, free: 204 kB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004094/0.1779, allocations: 418 kB / 0.6316 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=78): time 1.884e-06/0.1779, allocations: 0 / 0.6316 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=78): time 0.001167/0.1791, allocations: 0.5297 MB / 0.6321 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.314e-05/0.1792, allocations: 192.6 kB / 0.6323 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000554/0.1797, allocations: 0.642 MB / 0.6329 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.635e-05/0.1798, allocations: 41.7 kB / 0.633 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/0.18, allocations: 414.6 kB / 0.6333 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.1802, allocations: 265.7 kB / 0.6336 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.1804, allocations: 146.5 kB / 0.6337 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.803e-05/0.1804, allocations: 337.9 kB / 0.6341 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.1806, allocations: 80.78 kB / 0.6341 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.1808, allocations: 303.6 kB / 0.6344 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003959/0.1812, allocations: 295.4 kB / 0.6347 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1812, allocations: 0 / 0.6347 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007419/0.182, allocations: 431 kB / 0.6351 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.182, allocations: 8 kB / 0.6351 GB, free: 11.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.182, allocations: 0 / 0.6351 GB, free: 11.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000475/0.1825, allocations: 128.7 kB / 0.6353 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004409/0.1829, allocations: 155.8 kB / 0.6354 GB, free: 11.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/0.184, allocations: 1.309 MB / 0.6367 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003107/0.1843, allocations: 75.58 kB / 0.6367 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-05/0.1844, allocations: 27.97 kB / 0.6368 GB, free: 10.19 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.0001985/0.1846, allocations: 154.5 kB / 0.6369 GB, free: 10.03 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.1847, allocations: 87.91 kB / 0.637 GB, free: 9.941 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.1857, allocations: 0.6082 MB / 0.6376 GB, free: 9.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.1857, allocations: 8 kB / 0.6376 GB, free: 9.312 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.1857, allocations: 0 / 0.6376 GB, free: 9.312 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.1857, allocations: 3.984 kB / 0.6376 GB, free: 9.309 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007929/0.1865, allocations: 0.4939 MB / 0.6381 GB, free: 8.797 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1865, allocations: 3.984 kB / 0.6381 GB, free: 8.793 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003909/0.1869, allocations: 147.8 kB / 0.6382 GB, free: 8.648 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003776/0.1873, allocations: 104.8 kB / 0.6383 GB, free: 8.543 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.882e-05/0.1873, allocations: 19.98 kB / 0.6384 GB, free: 8.523 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009852/0.1883, allocations: 1.325 MB / 0.6397 GB, free: 7.105 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1883, allocations: 0 / 0.6397 GB, free: 7.105 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007241/0.1891, allocations: 493.1 kB / 0.6401 GB, free: 6.602 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002432/0.1893, allocations: 155.1 kB / 0.6403 GB, free: 6.449 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.334e-05/0.1894, allocations: 16 kB / 0.6403 GB, free: 6.434 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.1896, allocations: 38.08 kB / 0.6403 GB, free: 6.398 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.1898, allocations: 68.88 kB / 0.6404 GB, free: 6.332 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.737e-05/0.1898, allocations: 23.97 kB / 0.6404 GB, free: 6.309 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003273/0.1901, allocations: 323.2 kB / 0.6407 GB, free: 5.996 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1901, allocations: 0 / 0.6407 GB, free: 5.996 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006033/0.1907, allocations: 362.8 kB / 0.6411 GB, free: 5.641 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.001678/0.1924, allocations: 0.7393 MB / 0.6418 GB, free: 5.227 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006863/0.1931, allocations: 494 kB / 0.6423 GB, free: 4.727 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/0.1931, allocations: 8 kB / 0.6423 GB, free: 4.719 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004029/0.1935, allocations: 351 kB / 0.6426 GB, free: 4.363 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008103/0.1943, allocations: 477.3 kB / 0.6431 GB, free: 3.941 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.1962, allocations: 1.761 MB / 0.6448 GB, free: 2.133 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.1966, allocations: 214.8 kB / 0.645 GB, free: 1.906 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000375/0.197, allocations: 203.5 kB / 0.6452 GB, free: 1.703 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005429/0.1975, allocations: 343 kB / 0.6455 GB, free: 1.367 MB / 0.6042 GB Notification: Performance of SimCode: time 7.92e-07/0.1975, allocations: 3.938 kB / 0.6455 GB, free: 1.363 MB / 0.6042 GB Notification: Performance of Templates: time 0.02092/0.2184, allocations: 18.98 MB / 0.664 GB, free: 14.74 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.911724821198732]