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.0009461/0.0009461, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009576/0.0009576, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 0.9337/0.9337, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.8231/0.8231, allocations: 154.9 MB / 415.9 MB, free: 252 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.393e-06/1.393e-06, allocations: 0 / 0.5218 GB, free: 1.566 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.364e-05/1.503e-05, allocations: 3.297 kB / 0.5219 GB, free: 1.562 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006218/0.006233, allocations: 5.299 MB / 0.527 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1408/0.147, allocations: 144.1 MB / 0.6678 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.1481, allocations: 35.69 kB / 0.6678 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007857/0.1489, allocations: 377.2 kB / 0.6682 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001549/0.1504, allocations: 0.6093 MB / 0.6688 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001687/0.1521, allocations: 0.892 MB / 0.6696 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001445/0.1535, allocations: 1.62 MB / 0.6712 GB, free: 8.234 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000767/0.1543, allocations: 495 kB / 0.6717 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.1555, allocations: 0.8574 MB / 0.6725 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004532/0.1559, allocations: 410.7 kB / 0.6729 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.1561, allocations: 124 kB / 0.673 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007627/0.1568, allocations: 0.4915 MB / 0.6735 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002447/0.1571, allocations: 330.8 kB / 0.6738 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003482/0.1574, allocations: 418.8 kB / 0.6742 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.1589, allocations: 1.366 MB / 0.6756 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1589, allocations: 0 / 0.6756 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1589, allocations: 3.938 kB / 0.6756 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.1589, allocations: 0 / 0.6756 GB, free: 3.738 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.001913/0.1609, allocations: 1.763 MB / 0.6773 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.1609, allocations: 16.03 kB / 0.6773 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.162, allocations: 363.4 kB / 0.6776 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009935/0.163, allocations: 0.8513 MB / 0.6785 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.748e-05/0.163, allocations: 82.06 kB / 0.6786 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.1631, allocations: 100 kB / 0.6787 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3176/0.4807, allocations: 0.9461 MB / 0.6796 GB, free: 58.74 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.498e-05/0.4807, allocations: 0 / 0.6796 GB, free: 58.74 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.703e-05/0.4808, allocations: 40.56 kB / 0.6796 GB, free: 58.74 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/0.4808, allocations: 23.44 kB / 0.6796 GB, free: 58.74 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000951/0.4818, allocations: 0.7029 MB / 0.6803 GB, free: 58.72 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003091/0.4849, allocations: 2.295 MB / 0.6826 GB, free: 57.91 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006828/0.4856, allocations: 419.4 kB / 0.683 GB, free: 57.86 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.4857, allocations: 140.1 kB / 0.6831 GB, free: 57.85 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.116e-05/0.4858, allocations: 31.91 kB / 0.6831 GB, free: 57.85 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000424/0.4862, allocations: 449.3 kB / 0.6836 GB, free: 57.64 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=78): time 3.046e-06/0.4862, allocations: 0.625 kB / 0.6836 GB, free: 57.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78): time 0.001637/0.4879, allocations: 0.7232 MB / 0.6843 GB, free: 57.53 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.4879, allocations: 190.4 kB / 0.6844 GB, free: 57.31 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000568/0.4885, allocations: 0.6895 MB / 0.6851 GB, free: 57.12 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.722e-05/0.4885, allocations: 39.39 kB / 0.6852 GB, free: 57.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003168/0.4888, allocations: 0.5787 MB / 0.6857 GB, free: 56.86 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/0.489, allocations: 268.6 kB / 0.686 GB, free: 56.72 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.4892, allocations: 169.2 kB / 0.6861 GB, free: 56.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.563e-05/0.4893, allocations: 0.5112 MB / 0.6866 GB, free: 56.21 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.4894, allocations: 97.47 kB / 0.6867 GB, free: 56.21 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.4897, allocations: 332.2 kB / 0.6871 GB, free: 55.99 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003994/0.4901, allocations: 314.8 kB / 0.6874 GB, free: 55.93 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4901, allocations: 0 / 0.6874 GB, free: 55.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009387/0.491, allocations: 0.5726 MB / 0.6879 GB, free: 55.81 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.491, allocations: 8.094 kB / 0.6879 GB, free: 55.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.491, allocations: 1.25 kB / 0.6879 GB, free: 55.81 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005214/0.4916, allocations: 134.6 kB / 0.688 GB, free: 55.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000414/0.492, allocations: 153.7 kB / 0.6882 GB, free: 55.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.4932, allocations: 1.872 MB / 0.69 GB, free: 54.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003825/0.4936, allocations: 69.95 kB / 0.6901 GB, free: 54.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.166e-05/0.4937, allocations: 34.53 kB / 0.6901 GB, free: 54.05 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.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.00023/0.4939, allocations: 201.7 kB / 0.6903 GB, free: 53.89 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.494, allocations: 133.3 kB / 0.6904 GB, free: 53.83 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.4952, allocations: 0.7579 MB / 0.6912 GB, free: 53.74 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.4953, allocations: 11.56 kB / 0.6912 GB, free: 53.74 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.4953, allocations: 1.531 kB / 0.6912 GB, free: 53.74 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.4953, allocations: 6.938 kB / 0.6912 GB, free: 53.74 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006019/0.4959, allocations: 0.5358 MB / 0.6917 GB, free: 53.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.4959, allocations: 0.8125 kB / 0.6917 GB, free: 53.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003556/0.4962, allocations: 144.8 kB / 0.6919 GB, free: 53.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004157/0.4966, allocations: 110 kB / 0.692 GB, free: 53.59 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.4967, allocations: 26.23 kB / 0.692 GB, free: 53.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009829/0.4977, allocations: 1.893 MB / 0.6938 GB, free: 51.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4977, allocations: 0.7812 kB / 0.6938 GB, free: 51.86 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009427/0.4986, allocations: 0.6892 MB / 0.6945 GB, free: 51.68 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000263/0.4989, allocations: 199.8 kB / 0.6947 GB, free: 51.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.253e-05/0.499, allocations: 27.56 kB / 0.6947 GB, free: 51.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/0.4992, allocations: 37.61 kB / 0.6948 GB, free: 51.62 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.4994, allocations: 70.77 kB / 0.6948 GB, free: 51.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.986e-05/0.4994, allocations: 27.09 kB / 0.6949 GB, free: 51.62 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000297/0.4997, allocations: 435.7 kB / 0.6953 GB, free: 51.48 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4997, allocations: 0 / 0.6953 GB, free: 51.48 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007357/0.5004, allocations: 362.4 kB / 0.6956 GB, free: 51.45 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.001321/0.5018, allocations: 0.6221 MB / 0.6962 GB, free: 51.33 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007473/0.5025, allocations: 0.5772 MB / 0.6968 GB, free: 51.12 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5025, allocations: 0 / 0.6968 GB, free: 51.12 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004282/0.5029, allocations: 436.4 kB / 0.6972 GB, free: 50.94 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.5041, allocations: 479 kB / 0.6977 GB, free: 50.91 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002541/0.5066, allocations: 1.783 MB / 0.6994 GB, free: 50.06 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.5067, allocations: 213.3 kB / 0.6996 GB, free: 49.98 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004844/0.5072, allocations: 208 kB / 0.6998 GB, free: 49.93 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00059/0.5078, allocations: 406.6 kB / 0.7002 GB, free: 49.86 MB / 0.6355 GB Notification: Performance of SimCode: time 7.01e-07/0.5078, allocations: 1.781 kB / 0.7002 GB, free: 49.86 MB / 0.6355 GB Notification: Performance of Templates: time 0.0292/0.537, allocations: 19.17 MB / 0.7189 GB, free: 47.88 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.9329785839654505]