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.0008629/0.0008629, allocations: 80.75 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.0009031/0.0009031, allocations: 181 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.099/1.099, allocations: 177.1 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.8261/0.8261, allocations: 154.9 MB / 415.1 MB, free: 216 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.583e-06/1.583e-06, allocations: 0 / 480.4 MB, free: 6.543 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.646e-05/1.804e-05, allocations: 7.953 kB / 480.4 MB, free: 6.539 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005485/0.005503, allocations: 5.363 MB / 485.7 MB, free: 1.215 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.1388/0.1443, allocations: 146.3 MB / 0.6172 GB, free: 14.72 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.1453, allocations: 35.69 kB / 0.6173 GB, free: 14.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0007328/0.146, allocations: 341.3 kB / 0.6176 GB, free: 14.35 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001581/0.1476, allocations: 0.5898 MB / 0.6182 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.1495, allocations: 0.8803 MB / 0.619 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.002299/0.1518, allocations: 1.612 MB / 0.6206 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008793/0.1527, allocations: 0.5113 MB / 0.6211 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.1538, allocations: 0.8496 MB / 0.6219 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004116/0.1542, allocations: 410.7 kB / 0.6223 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.1543, allocations: 120 kB / 0.6224 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.1554, allocations: 0.5188 MB / 0.6229 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002164/0.1556, allocations: 334.8 kB / 0.6233 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002776/0.1559, allocations: 418.8 kB / 0.6237 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.1574, allocations: 1.37 MB / 0.625 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.1574, allocations: 0 / 0.625 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1574, allocations: 3.938 kB / 0.625 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.1574, allocations: 0 / 0.625 GB, free: 6.688 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.001526/0.1589, allocations: 1.611 MB / 0.6266 GB, free: 5.039 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.159, allocations: 12.03 kB / 0.6266 GB, free: 5.027 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008265/0.1598, allocations: 312.2 kB / 0.6269 GB, free: 4.723 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008123/0.1606, allocations: 0.7186 MB / 0.6276 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.667e-05/0.1607, allocations: 82.06 kB / 0.6277 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.869e-05/0.1607, allocations: 104 kB / 0.6278 GB, free: 3.781 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.1619, allocations: 0.9343 MB / 0.6287 GB, free: 2.762 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.1619, allocations: 4 kB / 0.6287 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.827e-05/0.1619, allocations: 40 kB / 0.6287 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.1619, allocations: 31.94 kB / 0.6288 GB, free: 2.688 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006009/0.1625, allocations: 0.5908 MB / 0.6293 GB, free: 2.094 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/0.1647, allocations: 1.741 MB / 0.631 GB, free: 320 kB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004954/0.1652, allocations: 378.7 kB / 0.6314 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.1653, allocations: 110.8 kB / 0.6315 GB, free: 15.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.53e-05/0.1654, allocations: 36.56 kB / 0.6315 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003465/0.1657, allocations: 429.9 kB / 0.6319 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=78): time 2.164e-06/0.1657, allocations: 0 / 0.6319 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=78): time 0.0009929/0.1667, allocations: 0.5258 MB / 0.6325 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.171e-05/0.1668, allocations: 196.6 kB / 0.6326 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004676/0.1672, allocations: 0.6342 MB / 0.6333 GB, free: 13.92 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.1673, allocations: 37.7 kB / 0.6333 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.1675, allocations: 418.6 kB / 0.6337 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.1676, allocations: 261.7 kB / 0.6339 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.1678, allocations: 154.5 kB / 0.6341 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.764e-05/0.1679, allocations: 341.9 kB / 0.6344 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.168, allocations: 80.78 kB / 0.6345 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.1682, allocations: 295.6 kB / 0.6348 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000584/0.1688, allocations: 295.4 kB / 0.6351 GB, free: 12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1688, allocations: 0 / 0.6351 GB, free: 12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0006054/0.1694, allocations: 438.9 kB / 0.6355 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1694, allocations: 4 kB / 0.6355 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1694, allocations: 0 / 0.6355 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003896/0.1698, allocations: 124.8 kB / 0.6356 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003253/0.1701, allocations: 163.7 kB / 0.6358 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/0.1712, allocations: 1.305 MB / 0.637 GB, free: 9.867 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003172/0.1715, allocations: 79.62 kB / 0.6371 GB, free: 9.789 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.895e-05/0.1716, allocations: 23.97 kB / 0.6371 GB, free: 9.766 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.0002207/0.1718, allocations: 158.5 kB / 0.6373 GB, free: 9.602 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.421e-05/0.1719, allocations: 91.84 kB / 0.6374 GB, free: 9.512 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000785/0.1727, allocations: 0.5965 MB / 0.638 GB, free: 8.902 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.1727, allocations: 11.98 kB / 0.638 GB, free: 8.891 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.1727, allocations: 0 / 0.638 GB, free: 8.891 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.1727, allocations: 7.969 kB / 0.638 GB, free: 8.883 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005181/0.1732, allocations: 0.494 MB / 0.6385 GB, free: 8.371 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1732, allocations: 7.938 kB / 0.6385 GB, free: 8.363 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.1735, allocations: 135.8 kB / 0.6386 GB, free: 8.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003132/0.1738, allocations: 112.8 kB / 0.6387 GB, free: 8.117 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.1738, allocations: 15.98 kB / 0.6387 GB, free: 8.102 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008721/0.1747, allocations: 1.321 MB / 0.64 GB, free: 6.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1747, allocations: 0 / 0.64 GB, free: 6.68 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005763/0.1753, allocations: 0.4893 MB / 0.6405 GB, free: 6.172 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002037/0.1755, allocations: 151.1 kB / 0.6406 GB, free: 6.023 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.736e-05/0.1756, allocations: 16 kB / 0.6406 GB, free: 6.008 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.1757, allocations: 37.22 kB / 0.6407 GB, free: 5.973 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.315e-05/0.1758, allocations: 64.88 kB / 0.6407 GB, free: 5.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.673e-05/0.1759, allocations: 23.97 kB / 0.6408 GB, free: 5.887 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002615/0.1761, allocations: 323.3 kB / 0.6411 GB, free: 5.574 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.1761, allocations: 0 / 0.6411 GB, free: 5.574 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006458/0.1768, allocations: 366.8 kB / 0.6414 GB, free: 5.215 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.001856/0.1786, allocations: 0.7361 MB / 0.6421 GB, free: 4.805 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006132/0.1793, allocations: 494.1 kB / 0.6426 GB, free: 4.305 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/0.1793, allocations: 8 kB / 0.6426 GB, free: 4.297 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003147/0.1796, allocations: 358.9 kB / 0.643 GB, free: 3.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008263/0.1804, allocations: 469.1 kB / 0.6434 GB, free: 3.512 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.1828, allocations: 1.771 MB / 0.6451 GB, free: 1.707 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.1829, allocations: 214.8 kB / 0.6453 GB, free: 1.48 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005241/0.1834, allocations: 203.5 kB / 0.6455 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005832/0.184, allocations: 343 kB / 0.6459 GB, free: 0.9414 MB / 0.6042 GB Notification: Performance of SimCode: time 1.533e-06/0.184, allocations: 0 / 0.6459 GB, free: 0.9414 MB / 0.6042 GB Notification: Performance of Templates: time 0.02782/0.2118, allocations: 18.99 MB / 0.6644 GB, free: 14.31 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.081674044020474]