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.001066/0.001066, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001247/0.001247, allocations: 169 kB / 23.02 MB, free: 1.547 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.019/1.019, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.7858/0.7858, allocations: 154.9 MB / 414.8 MB, free: 384 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.934e-06/1.934e-06, allocations: 0 / 0.5207 GB, free: 1.828 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.741e-05/3.934e-05, allocations: 4.609 kB / 0.5207 GB, free: 1.824 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006751/0.00679, allocations: 5.442 MB / 0.526 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1341/0.1409, allocations: 146.8 MB / 0.6694 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009688/0.1419, allocations: 35.69 kB / 0.6694 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007093/0.1426, allocations: 377.2 kB / 0.6698 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001771/0.1443, allocations: 0.6093 MB / 0.6704 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.1459, allocations: 0.8998 MB / 0.6712 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001464/0.1473, allocations: 1.612 MB / 0.6728 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006526/0.148, allocations: 495 kB / 0.6733 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009234/0.1489, allocations: 0.8536 MB / 0.6741 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004025/0.1493, allocations: 406.7 kB / 0.6745 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.1495, allocations: 120 kB / 0.6746 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007342/0.1502, allocations: 0.4954 MB / 0.6751 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002211/0.1504, allocations: 334.8 kB / 0.6754 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002768/0.1507, allocations: 414.8 kB / 0.6758 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.1522, allocations: 1.374 MB / 0.6772 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1522, allocations: 0 / 0.6772 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1522, allocations: 0 / 0.6772 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.1522, allocations: 0 / 0.6772 GB, free: 1.156 MB / 0.6355 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.3279/0.48, allocations: 1.745 MB / 0.6789 GB, free: 57.15 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.4801, allocations: 11.78 kB / 0.6789 GB, free: 57.15 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.4814, allocations: 363.7 kB / 0.6792 GB, free: 57.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.4824, allocations: 0.8624 MB / 0.6801 GB, free: 56.82 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.464e-05/0.4825, allocations: 79.67 kB / 0.6801 GB, free: 56.82 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.766e-05/0.4826, allocations: 97.34 kB / 0.6802 GB, free: 56.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.4837, allocations: 1.009 MB / 0.6812 GB, free: 56.39 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.4838, allocations: 3.938 kB / 0.6812 GB, free: 56.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.769e-05/0.4838, allocations: 44.45 kB / 0.6813 GB, free: 56.39 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.4838, allocations: 23.97 kB / 0.6813 GB, free: 56.39 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.4849, allocations: 0.8167 MB / 0.6821 GB, free: 56.38 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002742/0.4877, allocations: 2.445 MB / 0.6845 GB, free: 55.44 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008526/0.4885, allocations: 461.3 kB / 0.6849 GB, free: 55.4 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.4888, allocations: 166.2 kB / 0.6851 GB, free: 55.39 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.298e-05/0.4888, allocations: 33.45 kB / 0.6851 GB, free: 55.39 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005141/0.4894, allocations: 471.2 kB / 0.6855 GB, free: 55.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=78): time 2.495e-06/0.4894, allocations: 0.7656 kB / 0.6856 GB, free: 55.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78): time 0.001712/0.4911, allocations: 0.7998 MB / 0.6863 GB, free: 55.06 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.4911, allocations: 190.6 kB / 0.6865 GB, free: 54.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005935/0.4917, allocations: 0.7032 MB / 0.6872 GB, free: 54.65 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/0.4918, allocations: 42.27 kB / 0.6872 GB, free: 54.62 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/0.492, allocations: 0.5717 MB / 0.6878 GB, free: 54.39 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.4922, allocations: 260.6 kB / 0.688 GB, free: 54.25 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.4923, allocations: 165.8 kB / 0.6882 GB, free: 54.22 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.759e-05/0.4924, allocations: 0.5056 MB / 0.6887 GB, free: 53.74 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.4926, allocations: 128.3 kB / 0.6888 GB, free: 53.74 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003282/0.493, allocations: 359.6 kB / 0.6892 GB, free: 53.52 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005166/0.4935, allocations: 353.8 kB / 0.6895 GB, free: 53.46 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.4935, allocations: 6.828 kB / 0.6895 GB, free: 53.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001065/0.4945, allocations: 0.638 MB / 0.6901 GB, free: 53.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.4946, allocations: 9.766 kB / 0.6901 GB, free: 53.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.4946, allocations: 0 / 0.6901 GB, free: 53.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005381/0.4951, allocations: 130.1 kB / 0.6903 GB, free: 53.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004092/0.4955, allocations: 148.5 kB / 0.6904 GB, free: 53.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/0.4968, allocations: 1.908 MB / 0.6923 GB, free: 51.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003349/0.4971, allocations: 70.75 kB / 0.6923 GB, free: 51.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.403e-05/0.4972, allocations: 38.03 kB / 0.6924 GB, free: 51.55 MB / 0.6355 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.conTim.canRepeatWeatherFile,weaDat.conTimMin.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.0002132/0.4974, allocations: 207.6 kB / 0.6926 GB, free: 51.39 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.4975, allocations: 125 kB / 0.6927 GB, free: 51.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.4989, allocations: 0.829 MB / 0.6935 GB, free: 51.24 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.4989, allocations: 11.12 kB / 0.6935 GB, free: 51.24 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.4989, allocations: 0.9375 kB / 0.6935 GB, free: 51.24 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.4989, allocations: 3.234 kB / 0.6935 GB, free: 51.24 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006127/0.4996, allocations: 0.6605 MB / 0.6942 GB, free: 51.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.4996, allocations: 0.8125 kB / 0.6942 GB, free: 51.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003633/0.4999, allocations: 144.2 kB / 0.6943 GB, free: 51.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004082/0.5003, allocations: 120 kB / 0.6944 GB, free: 51.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-05/0.5004, allocations: 21.47 kB / 0.6944 GB, free: 51.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009868/0.5014, allocations: 1.915 MB / 0.6963 GB, free: 49.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5014, allocations: 4.062 kB / 0.6963 GB, free: 49.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.5024, allocations: 0.74 MB / 0.697 GB, free: 49.14 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002577/0.5027, allocations: 205.1 kB / 0.6972 GB, free: 49.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.818e-05/0.5028, allocations: 23.59 kB / 0.6972 GB, free: 49.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002713/0.503, allocations: 40.84 kB / 0.6973 GB, free: 49.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.5032, allocations: 67.56 kB / 0.6974 GB, free: 49.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-05/0.5032, allocations: 37.45 kB / 0.6974 GB, free: 49.07 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003903/0.5036, allocations: 460.9 kB / 0.6978 GB, free: 48.93 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.5036, allocations: 1 kB / 0.6978 GB, free: 48.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006664/0.5043, allocations: 363.1 kB / 0.6982 GB, free: 48.86 MB / 0.6355 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.001446/0.5057, allocations: 0.6278 MB / 0.6988 GB, free: 48.71 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009384/0.5067, allocations: 0.6259 MB / 0.6994 GB, free: 48.51 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5067, allocations: 0.7812 kB / 0.6994 GB, free: 48.51 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005032/0.5072, allocations: 471.4 kB / 0.6998 GB, free: 48.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.5082, allocations: 481.9 kB / 0.7003 GB, free: 48.29 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.5108, allocations: 1.783 MB / 0.702 GB, free: 47.43 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.511, allocations: 216 kB / 0.7023 GB, free: 47.35 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005906/0.5116, allocations: 272.7 kB / 0.7025 GB, free: 47.29 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.5118, allocations: 117.9 kB / 0.7026 GB, free: 47.29 MB / 0.6355 GB Notification: Performance of SimCode: time 8.71e-07/0.5118, allocations: 0.9062 kB / 0.7026 GB, free: 47.29 MB / 0.6355 GB Notification: Performance of Templates: time 0.03016/0.542, allocations: 18.56 MB / 0.7208 GB, free: 45.29 MB / 0.6355 GB " [Timeout remaining time 659] 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.900678377132863]