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.00232/0.00232, allocations: 85.48 kB / 19.44 MB, free: 344 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.00293/0.00293, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.567/1.567, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 1.371/1.371, allocations: 154.8 MB / 414.4 MB, free: 468 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 178] 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.724e-06/1.724e-06, allocations: 0.6562 kB / 0.5198 GB, free: 2.344 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/3.04e-05, allocations: 4.828 kB / 0.5198 GB, free: 2.34 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.009021/0.009052, allocations: 5.393 MB / 0.5251 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.2097/0.2188, allocations: 146.5 MB / 0.6682 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.22, allocations: 35.69 kB / 0.6682 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.2211, allocations: 373.3 kB / 0.6686 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002025/0.2231, allocations: 0.6017 MB / 0.6692 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002554/0.2257, allocations: 0.9036 MB / 0.6701 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002405/0.2281, allocations: 1.608 MB / 0.6716 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.2291, allocations: 495 kB / 0.6721 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001508/0.2306, allocations: 0.8185 MB / 0.6729 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007303/0.2314, allocations: 440.8 kB / 0.6733 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000227/0.2316, allocations: 136 kB / 0.6735 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.2327, allocations: 0.4993 MB / 0.6739 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004138/0.2332, allocations: 354.7 kB / 0.6743 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006445/0.2338, allocations: 434.8 kB / 0.6747 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003367/0.2372, allocations: 2.044 MB / 0.6767 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.2372, allocations: 7.922 kB / 0.6767 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2372, allocations: 0 / 0.6767 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.035e-05/0.2372, allocations: 0 / 0.6767 GB, free: 1.281 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.2277/0.4649, allocations: 1.867 MB / 0.6785 GB, free: 202.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.465, allocations: 9.156 kB / 0.6785 GB, free: 202.4 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.4665, allocations: 365 kB / 0.6789 GB, free: 202.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.4678, allocations: 0.8756 MB / 0.6797 GB, free: 201.9 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.292e-05/0.4678, allocations: 76.3 kB / 0.6798 GB, free: 201.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.4679, allocations: 103.1 kB / 0.6799 GB, free: 201.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.4695, allocations: 1.322 MB / 0.6812 GB, free: 201 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/0.4695, allocations: 3 kB / 0.6812 GB, free: 201 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-05/0.4696, allocations: 44.17 kB / 0.6812 GB, free: 201 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.4696, allocations: 25.09 kB / 0.6813 GB, free: 201 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/0.4711, allocations: 1.078 MB / 0.6823 GB, free: 200.7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003915/0.475, allocations: 3.324 MB / 0.6856 GB, free: 198.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.4761, allocations: 0.6796 MB / 0.6862 GB, free: 198.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003895/0.4765, allocations: 250.2 kB / 0.6865 GB, free: 198.4 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.791e-05/0.4766, allocations: 31.19 kB / 0.6865 GB, free: 198.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007386/0.4773, allocations: 0.5909 MB / 0.6871 GB, free: 198.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=78): time 2.605e-06/0.4773, allocations: 0 / 0.6871 GB, free: 198.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78): time 0.002812/0.4801, allocations: 1.054 MB / 0.6881 GB, free: 197.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.4802, allocations: 194.4 kB / 0.6883 GB, free: 197.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009946/0.4812, allocations: 0.9579 MB / 0.6892 GB, free: 197.1 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.697e-05/0.4812, allocations: 43.55 kB / 0.6893 GB, free: 197 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003952/0.4816, allocations: 0.6267 MB / 0.6899 GB, free: 196.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.4818, allocations: 278.3 kB / 0.6901 GB, free: 196.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002953/0.4821, allocations: 193.8 kB / 0.6903 GB, free: 196.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.051e-05/0.4822, allocations: 0.5273 MB / 0.6908 GB, free: 195.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003974/0.4826, allocations: 219.8 kB / 0.6911 GB, free: 195.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005073/0.4831, allocations: 485.2 kB / 0.6915 GB, free: 195.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008195/0.4839, allocations: 0.5329 MB / 0.692 GB, free: 195.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.4839, allocations: 0 / 0.692 GB, free: 195.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001742/0.4857, allocations: 0.808 MB / 0.6928 GB, free: 194.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.4857, allocations: 13.86 kB / 0.6928 GB, free: 194.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.4857, allocations: 0.6562 kB / 0.6928 GB, free: 194.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009716/0.4867, allocations: 136.1 kB / 0.693 GB, free: 194.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005741/0.4872, allocations: 157.6 kB / 0.6931 GB, free: 194.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/0.4891, allocations: 2.045 MB / 0.6951 GB, free: 192.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007017/0.4898, allocations: 71.78 kB / 0.6952 GB, free: 192.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.536e-05/0.4899, allocations: 37.91 kB / 0.6952 GB, free: 192.8 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.0004561/0.4903, allocations: 304.4 kB / 0.6955 GB, free: 192.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002213/0.4905, allocations: 126.1 kB / 0.6956 GB, free: 192.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002023/0.4926, allocations: 0.9959 MB / 0.6966 GB, free: 192.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.4926, allocations: 12.47 kB / 0.6966 GB, free: 192.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.4926, allocations: 4.594 kB / 0.6966 GB, free: 192.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.088e-06/0.4926, allocations: 3.469 kB / 0.6966 GB, free: 192.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009382/0.4935, allocations: 0.916 MB / 0.6975 GB, free: 191.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.4935, allocations: 0 / 0.6975 GB, free: 191.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000498/0.494, allocations: 135.1 kB / 0.6976 GB, free: 191.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007308/0.4947, allocations: 128.8 kB / 0.6978 GB, free: 191.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.922e-05/0.4948, allocations: 24.12 kB / 0.6978 GB, free: 191.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/0.4964, allocations: 2.07 MB / 0.6998 GB, free: 189.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4964, allocations: 0 / 0.6998 GB, free: 189.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.4981, allocations: 0.9349 MB / 0.7007 GB, free: 189.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004025/0.4985, allocations: 209.9 kB / 0.7009 GB, free: 189.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.4986, allocations: 18.09 kB / 0.7009 GB, free: 189.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004848/0.4991, allocations: 43.22 kB / 0.701 GB, free: 189.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.4993, allocations: 76.66 kB / 0.7011 GB, free: 189.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.334e-05/0.4993, allocations: 35.58 kB / 0.7011 GB, free: 189.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005924/0.4999, allocations: 0.5935 MB / 0.7017 GB, free: 188.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1e-07/0.4999, allocations: 2.625 kB / 0.7017 GB, free: 188.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008747/0.5008, allocations: 371.1 kB / 0.702 GB, free: 188.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.003263/0.5041, allocations: 0.664 MB / 0.7027 GB, free: 188.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001395/0.5054, allocations: 0.8273 MB / 0.7035 GB, free: 188.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5055, allocations: 2.625 kB / 0.7035 GB, free: 188.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007524/0.5062, allocations: 0.5677 MB / 0.704 GB, free: 187.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/0.5078, allocations: 491 kB / 0.7045 GB, free: 187.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002677/0.5105, allocations: 1.921 MB / 0.7064 GB, free: 186.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.5108, allocations: 0.5042 MB / 0.7069 GB, free: 186.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006942/0.5115, allocations: 276.5 kB / 0.7071 GB, free: 186.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/0.5118, allocations: 112.4 kB / 0.7072 GB, free: 186.6 MB / 0.6355 GB Notification: Performance of SimCode: time 1.082e-06/0.5118, allocations: 4.375 kB / 0.7073 GB, free: 186.6 MB / 0.6355 GB Notification: Performance of Templates: time 0.02852/0.5403, allocations: 17.68 MB / 0.7245 GB, free: 182.3 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: 7.300981416949071]