Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008949/0.0008949, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001016/0.001016, allocations: 173 kB / 23.5 MB, free: 1.055 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.08/1.08, 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 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7611/0.7611, allocations: 154.6 MB / 414.9 MB, free: 0.6875 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.5203 GB, free: 2.59 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.574e-05, allocations: 5.797 kB / 0.5203 GB, free: 2.586 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007233/0.007258, allocations: 5.398 MB / 0.5256 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1413/0.1485, allocations: 146.6 MB / 0.6687 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008455/0.1494, allocations: 35.62 kB / 0.6688 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007454/0.1501, allocations: 381.2 kB / 0.6691 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001379/0.1515, allocations: 0.5939 MB / 0.6697 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.1529, allocations: 0.8998 MB / 0.6706 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001062/0.1539, allocations: 1.616 MB / 0.6722 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005769/0.1545, allocations: 487 kB / 0.6726 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008822/0.1554, allocations: 0.8224 MB / 0.6734 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003628/0.1558, allocations: 434.6 kB / 0.6739 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.1559, allocations: 135.9 kB / 0.674 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005693/0.1565, allocations: 0.5033 MB / 0.6745 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002059/0.1567, allocations: 346.8 kB / 0.6748 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002708/0.1569, allocations: 430.8 kB / 0.6752 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.1581, allocations: 1.409 MB / 0.6766 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1581, allocations: 4 kB / 0.6766 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1581, allocations: 0 / 0.6766 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.1581, allocations: 0 / 0.6766 GB, free: 2.117 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.001664/0.1598, allocations: 1.755 MB / 0.6783 GB, free: 324 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.1598, allocations: 16.03 kB / 0.6783 GB, free: 308 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2128/0.3726, allocations: 364.9 kB / 0.6787 GB, free: 203.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.3739, allocations: 0.8539 MB / 0.6795 GB, free: 203.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.365e-05/0.3739, allocations: 76.75 kB / 0.6796 GB, free: 203 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.401e-05/0.374, allocations: 98.25 kB / 0.6797 GB, free: 203 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009928/0.375, allocations: 1.084 MB / 0.6807 GB, free: 202.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.375, allocations: 0.7812 kB / 0.6807 GB, free: 202.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.593e-05/0.3751, allocations: 42.94 kB / 0.6808 GB, free: 202.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/0.3751, allocations: 28.75 kB / 0.6808 GB, free: 202.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008184/0.3759, allocations: 0.8232 MB / 0.6816 GB, free: 202.2 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002184/0.3781, allocations: 2.475 MB / 0.684 GB, free: 200.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006715/0.3788, allocations: 465 kB / 0.6845 GB, free: 200.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.379, allocations: 156.7 kB / 0.6846 GB, free: 200.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.459e-05/0.379, allocations: 32.5 kB / 0.6846 GB, free: 200.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003904/0.3794, allocations: 485.7 kB / 0.6851 GB, free: 200.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=78): time 2.144e-06/0.3794, allocations: 0 / 0.6851 GB, free: 200.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78): time 0.001403/0.3808, allocations: 0.8047 MB / 0.6859 GB, free: 200 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.3809, allocations: 189.4 kB / 0.6861 GB, free: 199.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004785/0.3814, allocations: 0.709 MB / 0.6868 GB, free: 199.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.977e-05/0.3814, allocations: 43.48 kB / 0.6868 GB, free: 199.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.3816, allocations: 0.5676 MB / 0.6874 GB, free: 199 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.3817, allocations: 269.8 kB / 0.6876 GB, free: 198.9 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.3818, allocations: 158.8 kB / 0.6878 GB, free: 198.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.078e-05/0.3819, allocations: 0.5075 MB / 0.6883 GB, free: 198.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.3821, allocations: 128.6 kB / 0.6884 GB, free: 198.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/0.3824, allocations: 361.2 kB / 0.6887 GB, free: 198 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004286/0.3828, allocations: 359.9 kB / 0.6891 GB, free: 197.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3828, allocations: 0 / 0.6891 GB, free: 197.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008697/0.3837, allocations: 0.6478 MB / 0.6897 GB, free: 197.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3837, allocations: 6.25 kB / 0.6897 GB, free: 197.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3837, allocations: 0 / 0.6897 GB, free: 197.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000446/0.3841, allocations: 128.5 kB / 0.6898 GB, free: 197.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/0.3844, allocations: 157 kB / 0.69 GB, free: 197.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009953/0.3854, allocations: 1.898 MB / 0.6918 GB, free: 195.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.3857, allocations: 71.56 kB / 0.6919 GB, free: 195.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/0.3858, allocations: 39.86 kB / 0.6919 GB, free: 195.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.0001927/0.3859, allocations: 209.3 kB / 0.6921 GB, free: 195.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.3861, allocations: 133.4 kB / 0.6923 GB, free: 195.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.3871, allocations: 0.8246 MB / 0.6931 GB, free: 195.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3871, allocations: 8.469 kB / 0.6931 GB, free: 195.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.3871, allocations: 0 / 0.6931 GB, free: 195.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.3872, allocations: 4.125 kB / 0.6931 GB, free: 195.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004966/0.3877, allocations: 0.6716 MB / 0.6937 GB, free: 194.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3877, allocations: 7.125 kB / 0.6938 GB, free: 194.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.3879, allocations: 140.3 kB / 0.6939 GB, free: 194.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003341/0.3883, allocations: 114.5 kB / 0.694 GB, free: 194.9 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.741e-05/0.3883, allocations: 24.31 kB / 0.694 GB, free: 194.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008617/0.3892, allocations: 1.927 MB / 0.6959 GB, free: 193 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3892, allocations: 2.719 kB / 0.6959 GB, free: 193 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008763/0.39, allocations: 0.7388 MB / 0.6966 GB, free: 192.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002126/0.3903, allocations: 211.5 kB / 0.6968 GB, free: 192.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.102e-05/0.3903, allocations: 27.45 kB / 0.6969 GB, free: 192.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.3906, allocations: 44.14 kB / 0.6969 GB, free: 192.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.3907, allocations: 67.3 kB / 0.697 GB, free: 192.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-05/0.3907, allocations: 41.55 kB / 0.697 GB, free: 192.6 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003351/0.391, allocations: 471.4 kB / 0.6975 GB, free: 192.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.391, allocations: 2.125 kB / 0.6975 GB, free: 192.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005343/0.3916, allocations: 363.4 kB / 0.6978 GB, free: 192.3 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.00117/0.3927, allocations: 0.6283 MB / 0.6984 GB, free: 192.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007854/0.3935, allocations: 0.6247 MB / 0.699 GB, free: 191.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3935, allocations: 0 / 0.699 GB, free: 191.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004063/0.3939, allocations: 471.1 kB / 0.6995 GB, free: 191.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008874/0.3948, allocations: 491.8 kB / 0.6999 GB, free: 191.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.397, allocations: 1.794 MB / 0.7017 GB, free: 190.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.3971, allocations: 213.7 kB / 0.7019 GB, free: 190.4 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000473/0.3975, allocations: 274.1 kB / 0.7022 GB, free: 190.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.3977, allocations: 115.9 kB / 0.7023 GB, free: 190.4 MB / 0.6355 GB Notification: Performance of SimCode: time 1.032e-06/0.3977, allocations: 0 / 0.7023 GB, free: 190.4 MB / 0.6355 GB Notification: Performance of Templates: time 0.02054/0.4183, allocations: 17.71 MB / 0.7196 GB, free: 187 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.910837945062667]