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.001122/0.001122, allocations: 92.22 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.002128/0.002128, allocations: 169 kB / 23.02 MB, free: 1.551 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.044/1.044, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.8013/0.8013, allocations: 154.8 MB / 414.7 MB, free: 496 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.383e-06/1.383e-06, allocations: 0 / 0.5205 GB, free: 2.023 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.053e-05/2.191e-05, allocations: 4 kB / 0.5205 GB, free: 2.02 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006066/0.006088, allocations: 5.445 MB / 0.5258 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1318/0.1379, allocations: 146.8 MB / 0.6692 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008613/0.1388, allocations: 31.69 kB / 0.6693 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007208/0.1395, allocations: 377.2 kB / 0.6696 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00141/0.1409, allocations: 0.6055 MB / 0.6702 GB, free: 8.367 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.1423, allocations: 0.8998 MB / 0.6711 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001426/0.1438, allocations: 1.608 MB / 0.6727 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006453/0.1444, allocations: 499 kB / 0.6731 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.1454, allocations: 0.8185 MB / 0.6739 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005981/0.146, allocations: 438.6 kB / 0.6744 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001463/0.1461, allocations: 135.9 kB / 0.6745 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006633/0.1468, allocations: 0.5033 MB / 0.675 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002182/0.147, allocations: 346.8 kB / 0.6753 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003107/0.1473, allocations: 430.8 kB / 0.6757 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.1489, allocations: 1.413 MB / 0.6771 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1489, allocations: 0 / 0.6771 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1489, allocations: 0 / 0.6771 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.159e-05/0.1489, allocations: 0 / 0.6771 GB, free: 1.262 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.2791/0.428, allocations: 1.747 MB / 0.6788 GB, free: 57.2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.428, allocations: 8.312 kB / 0.6788 GB, free: 57.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008881/0.4289, allocations: 370.1 kB / 0.6792 GB, free: 57.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008556/0.4298, allocations: 0.8601 MB / 0.68 GB, free: 56.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.942e-05/0.4298, allocations: 80.41 kB / 0.6801 GB, free: 56.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.051e-05/0.4299, allocations: 102.8 kB / 0.6802 GB, free: 56.88 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009094/0.4308, allocations: 1.08 MB / 0.6812 GB, free: 56.36 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.4308, allocations: 2.875 kB / 0.6812 GB, free: 56.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.985e-05/0.4309, allocations: 40.56 kB / 0.6813 GB, free: 56.36 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.4309, allocations: 24.5 kB / 0.6813 GB, free: 56.36 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007943/0.4317, allocations: 0.8246 MB / 0.6821 GB, free: 56.34 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/0.4338, allocations: 2.477 MB / 0.6845 GB, free: 55.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006626/0.4344, allocations: 463.7 kB / 0.685 GB, free: 55.37 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.4346, allocations: 159.5 kB / 0.6851 GB, free: 55.36 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.168e-05/0.4347, allocations: 32.66 kB / 0.6851 GB, free: 55.36 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000385/0.4351, allocations: 471.2 kB / 0.6856 GB, free: 55.14 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=78): time 1.934e-06/0.4351, allocations: 0 / 0.6856 GB, free: 55.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78): time 0.001385/0.4365, allocations: 0.8039 MB / 0.6864 GB, free: 55.03 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.4365, allocations: 195.9 kB / 0.6866 GB, free: 54.81 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004816/0.437, allocations: 0.7137 MB / 0.6873 GB, free: 54.62 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.437, allocations: 42.2 kB / 0.6873 GB, free: 54.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/0.4372, allocations: 0.5726 MB / 0.6879 GB, free: 54.36 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.588e-05/0.4373, allocations: 265 kB / 0.6881 GB, free: 54.22 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.4375, allocations: 165 kB / 0.6883 GB, free: 54.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.441e-05/0.4375, allocations: 0.5037 MB / 0.6888 GB, free: 53.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.4377, allocations: 125.5 kB / 0.6889 GB, free: 53.71 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/0.438, allocations: 366.2 kB / 0.6892 GB, free: 53.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004406/0.4384, allocations: 359.9 kB / 0.6896 GB, free: 53.44 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.4384, allocations: 0.5469 kB / 0.6896 GB, free: 53.44 MB / 0.6355 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008686/0.4393, allocations: 0.6361 MB / 0.6902 GB, free: 53.32 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.4393, allocations: 8.062 kB / 0.6902 GB, free: 53.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4393, allocations: 6.516 kB / 0.6902 GB, free: 53.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004493/0.4398, allocations: 127.6 kB / 0.6903 GB, free: 53.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.4401, allocations: 155.8 kB / 0.6905 GB, free: 53.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/0.4411, allocations: 1.906 MB / 0.6923 GB, free: 51.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.4414, allocations: 71.8 kB / 0.6924 GB, free: 51.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.984e-05/0.4414, allocations: 36.19 kB / 0.6924 GB, free: 51.53 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.0001747/0.4416, allocations: 208.4 kB / 0.6926 GB, free: 51.37 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.4417, allocations: 128 kB / 0.6928 GB, free: 51.32 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.4427, allocations: 0.8292 MB / 0.6936 GB, free: 51.21 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.4427, allocations: 11.67 kB / 0.6936 GB, free: 51.21 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.4427, allocations: 0 / 0.6936 GB, free: 51.21 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.4428, allocations: 6.953 kB / 0.6936 GB, free: 51.21 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004974/0.4433, allocations: 0.6656 MB / 0.6942 GB, free: 51.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.4433, allocations: 0.8125 kB / 0.6942 GB, free: 51.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/0.4435, allocations: 140.4 kB / 0.6944 GB, free: 51.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003286/0.4439, allocations: 123.9 kB / 0.6945 GB, free: 51.04 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/0.4439, allocations: 26.59 kB / 0.6945 GB, free: 51.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008041/0.4447, allocations: 1.92 MB / 0.6964 GB, free: 49.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4447, allocations: 0 / 0.6964 GB, free: 49.29 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008977/0.4456, allocations: 0.7482 MB / 0.6971 GB, free: 49.11 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002215/0.4458, allocations: 207.5 kB / 0.6973 GB, free: 49.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.399e-05/0.4459, allocations: 26.03 kB / 0.6974 GB, free: 49.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.4461, allocations: 51.97 kB / 0.6974 GB, free: 49.04 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.208e-05/0.4462, allocations: 65.91 kB / 0.6975 GB, free: 49.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.924e-05/0.4462, allocations: 35.44 kB / 0.6975 GB, free: 49.04 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003296/0.4466, allocations: 475.8 kB / 0.698 GB, free: 48.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.4466, allocations: 1 kB / 0.698 GB, free: 48.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005476/0.4471, allocations: 360.7 kB / 0.6983 GB, free: 48.83 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.001207/0.4483, allocations: 0.6319 MB / 0.6989 GB, free: 48.69 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007573/0.4491, allocations: 0.626 MB / 0.6995 GB, free: 48.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4491, allocations: 3.922 kB / 0.6995 GB, free: 48.48 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003901/0.4495, allocations: 471.5 kB / 0.7 GB, free: 48.29 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008656/0.4503, allocations: 483.7 kB / 0.7004 GB, free: 48.26 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.4525, allocations: 1.788 MB / 0.7022 GB, free: 47.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.4526, allocations: 214.3 kB / 0.7024 GB, free: 47.32 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004768/0.4531, allocations: 273.6 kB / 0.7027 GB, free: 47.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/0.4533, allocations: 116.8 kB / 0.7028 GB, free: 47.27 MB / 0.6355 GB Notification: Performance of SimCode: time 8.91e-07/0.4533, allocations: 1.062 kB / 0.7028 GB, free: 47.27 MB / 0.6355 GB Notification: Performance of Templates: time 0.02186/0.4751, allocations: 17.7 MB / 0.7201 GB, free: 45.41 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: 5.069757878314704]