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.00105/0.00105, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001101/0.001101, allocations: 173 kB / 23.49 MB, free: 1.059 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.074/1.074, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.7758/0.7758, allocations: 154.8 MB / 415.1 MB, free: 4 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.623e-06/1.623e-06, allocations: 0 / 0.5205 GB, free: 2.27 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.888e-05, allocations: 2.312 kB / 0.5205 GB, free: 2.266 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006114/0.006143, allocations: 5.413 MB / 0.5258 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1446/0.1508, allocations: 146.6 MB / 0.669 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/0.1519, allocations: 31.69 kB / 0.669 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007701/0.1527, allocations: 385.2 kB / 0.6694 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001903/0.1546, allocations: 0.59 MB / 0.67 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.1563, allocations: 0.9075 MB / 0.6708 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001652/0.1579, allocations: 1.616 MB / 0.6724 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009542/0.1589, allocations: 495 kB / 0.6729 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/0.1602, allocations: 0.8146 MB / 0.6737 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006744/0.1608, allocations: 438.6 kB / 0.6741 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002519/0.1611, allocations: 135.9 kB / 0.6742 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.1622, allocations: 0.5033 MB / 0.6747 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002274/0.1624, allocations: 342.8 kB / 0.6751 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003723/0.1628, allocations: 442.8 kB / 0.6755 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001891/0.1647, allocations: 1.401 MB / 0.6768 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1647, allocations: 4 kB / 0.6768 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1647, allocations: 0 / 0.6768 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.959e-05/0.1647, allocations: 0 / 0.6768 GB, free: 1.793 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.2524/0.4171, allocations: 1.754 MB / 0.6786 GB, free: 202.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.4172, allocations: 11.75 kB / 0.6786 GB, free: 202.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/0.4185, allocations: 367 kB / 0.6789 GB, free: 202.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.4196, allocations: 0.8642 MB / 0.6798 GB, free: 202.6 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.722e-05/0.4196, allocations: 75.22 kB / 0.6798 GB, free: 202.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.518e-05/0.4197, allocations: 103.7 kB / 0.6799 GB, free: 202.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.4209, allocations: 1.082 MB / 0.681 GB, free: 201.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.4209, allocations: 0 / 0.681 GB, free: 201.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.616e-05/0.4209, allocations: 43.52 kB / 0.681 GB, free: 201.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.421, allocations: 26.75 kB / 0.6811 GB, free: 201.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009488/0.4219, allocations: 0.821 MB / 0.6819 GB, free: 201.7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002718/0.4246, allocations: 2.468 MB / 0.6843 GB, free: 200.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006888/0.4253, allocations: 467.3 kB / 0.6847 GB, free: 200.1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.4255, allocations: 154.8 kB / 0.6849 GB, free: 200.1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.922e-05/0.4256, allocations: 33.34 kB / 0.6849 GB, free: 200.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004156/0.426, allocations: 483.6 kB / 0.6854 GB, free: 199.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=78): time 2.274e-06/0.426, allocations: 1.031 kB / 0.6854 GB, free: 199.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78): time 0.001603/0.4276, allocations: 0.7979 MB / 0.6861 GB, free: 199.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.165e-05/0.4277, allocations: 197.1 kB / 0.6863 GB, free: 199.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006389/0.4283, allocations: 0.7118 MB / 0.687 GB, free: 199.1 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.869e-05/0.4284, allocations: 41.25 kB / 0.6871 GB, free: 199 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003167/0.4287, allocations: 0.5676 MB / 0.6876 GB, free: 198.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/0.4288, allocations: 270.2 kB / 0.6879 GB, free: 198.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.429, allocations: 159.8 kB / 0.688 GB, free: 198.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.654e-05/0.4291, allocations: 0.507 MB / 0.6885 GB, free: 197.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.4293, allocations: 131.8 kB / 0.6886 GB, free: 197.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.4296, allocations: 357.6 kB / 0.689 GB, free: 197.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004661/0.4301, allocations: 363 kB / 0.6893 GB, free: 197.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4301, allocations: 0 / 0.6893 GB, free: 197.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009775/0.431, allocations: 0.6403 MB / 0.69 GB, free: 197.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.4311, allocations: 10.44 kB / 0.69 GB, free: 197.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.4311, allocations: 2.562 kB / 0.69 GB, free: 197.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004718/0.4315, allocations: 125.3 kB / 0.6901 GB, free: 197.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/0.4319, allocations: 159.4 kB / 0.6902 GB, free: 197.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/0.433, allocations: 1.898 MB / 0.6921 GB, free: 195.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/0.4333, allocations: 69.88 kB / 0.6922 GB, free: 195.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/0.4333, allocations: 38.66 kB / 0.6922 GB, free: 195.3 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.0002394/0.4336, allocations: 209.9 kB / 0.6924 GB, free: 195.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.4337, allocations: 125.8 kB / 0.6925 GB, free: 195 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.4348, allocations: 0.8231 MB / 0.6933 GB, free: 194.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.4348, allocations: 12.5 kB / 0.6933 GB, free: 194.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.4348, allocations: 0.6562 kB / 0.6933 GB, free: 194.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.4348, allocations: 9.469 kB / 0.6933 GB, free: 194.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005871/0.4354, allocations: 0.6695 MB / 0.694 GB, free: 194.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.4354, allocations: 0 / 0.694 GB, free: 194.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/0.4357, allocations: 139.1 kB / 0.6941 GB, free: 194.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003378/0.436, allocations: 122.5 kB / 0.6942 GB, free: 194.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-05/0.436, allocations: 27.06 kB / 0.6943 GB, free: 194.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008735/0.4369, allocations: 1.919 MB / 0.6961 GB, free: 192.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4369, allocations: 2.625 kB / 0.6961 GB, free: 192.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009247/0.4378, allocations: 0.7405 MB / 0.6969 GB, free: 192.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002258/0.4381, allocations: 212.2 kB / 0.6971 GB, free: 192.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.304e-05/0.4381, allocations: 21.58 kB / 0.6971 GB, free: 192.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.4384, allocations: 46.91 kB / 0.6971 GB, free: 192.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.4385, allocations: 69.38 kB / 0.6972 GB, free: 192.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.072e-05/0.4385, allocations: 38.05 kB / 0.6972 GB, free: 192.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003403/0.4389, allocations: 469.5 kB / 0.6977 GB, free: 191.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4389, allocations: 0 / 0.6977 GB, free: 191.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007109/0.4396, allocations: 373.7 kB / 0.698 GB, free: 191.8 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.001189/0.4408, allocations: 0.6182 MB / 0.6987 GB, free: 191.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008231/0.4416, allocations: 0.6299 MB / 0.6993 GB, free: 191.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4416, allocations: 0 / 0.6993 GB, free: 191.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004121/0.442, allocations: 475.3 kB / 0.6997 GB, free: 191.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008878/0.4429, allocations: 491.1 kB / 0.7002 GB, free: 191 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.4454, allocations: 1.785 MB / 0.7019 GB, free: 190 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.4455, allocations: 214.4 kB / 0.7021 GB, free: 189.9 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005498/0.4461, allocations: 280.9 kB / 0.7024 GB, free: 189.9 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.4462, allocations: 116.1 kB / 0.7025 GB, free: 189.9 MB / 0.6355 GB Notification: Performance of SimCode: time 1.122e-06/0.4462, allocations: 1.391 kB / 0.7025 GB, free: 189.9 MB / 0.6355 GB Notification: Performance of Templates: time 0.02392/0.4702, allocations: 17.7 MB / 0.7198 GB, free: 186.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.840408328920603]