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.001336/0.001336, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001398/0.001398, allocations: 169.7 kB / 23.28 MB, free: 1.219 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 0.9553/0.9553, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.8556/0.8556, allocations: 154.9 MB / 415.1 MB, free: 244 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.463e-06/1.463e-06, allocations: 0 / 0.5211 GB, free: 1.559 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.033e-05, allocations: 4.703 kB / 0.5211 GB, free: 1.555 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007428/0.007448, allocations: 5.3 MB / 0.5263 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1285/0.136, allocations: 144.1 MB / 0.667 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008632/0.1368, allocations: 35.69 kB / 0.667 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007093/0.1375, allocations: 385.2 kB / 0.6674 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00148/0.139, allocations: 0.6054 MB / 0.668 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.1405, allocations: 0.8998 MB / 0.6689 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001507/0.142, allocations: 1.604 MB / 0.6704 GB, free: 8.242 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006366/0.1426, allocations: 0.4911 MB / 0.6709 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009055/0.1435, allocations: 0.8419 MB / 0.6717 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003823/0.1439, allocations: 414.6 kB / 0.6721 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.144, allocations: 124 kB / 0.6723 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007354/0.1447, allocations: 0.4915 MB / 0.6727 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.1449, allocations: 334.8 kB / 0.6731 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002603/0.1452, allocations: 410.9 kB / 0.6735 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.1464, allocations: 1.377 MB / 0.6748 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1464, allocations: 0 / 0.6748 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1464, allocations: 0 / 0.6748 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.448e-05/0.1464, allocations: 0 / 0.6748 GB, free: 3.746 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.001705/0.1482, allocations: 1.763 MB / 0.6765 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.1482, allocations: 12.03 kB / 0.6765 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008055/0.149, allocations: 371.4 kB / 0.6769 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00082/0.1498, allocations: 0.8551 MB / 0.6777 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.947e-05/0.1499, allocations: 78.12 kB / 0.6778 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.314e-05/0.1499, allocations: 100 kB / 0.6779 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2599/0.4099, allocations: 0.95 MB / 0.6788 GB, free: 58.81 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.4099, allocations: 0 / 0.6788 GB, free: 58.81 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.53e-05/0.41, allocations: 42.97 kB / 0.6789 GB, free: 58.81 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.41, allocations: 23.41 kB / 0.6789 GB, free: 58.81 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007802/0.4108, allocations: 0.698 MB / 0.6796 GB, free: 58.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002653/0.4134, allocations: 2.299 MB / 0.6818 GB, free: 57.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005895/0.414, allocations: 415.1 kB / 0.6822 GB, free: 57.94 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.4142, allocations: 145.7 kB / 0.6823 GB, free: 57.92 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.056e-05/0.4142, allocations: 51.06 kB / 0.6824 GB, free: 57.92 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003964/0.4146, allocations: 445.5 kB / 0.6828 GB, free: 57.71 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=78): time 2.615e-06/0.4146, allocations: 0.7188 kB / 0.6828 GB, free: 57.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78): time 0.001454/0.4161, allocations: 0.7185 MB / 0.6835 GB, free: 57.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.4161, allocations: 199.4 kB / 0.6837 GB, free: 57.38 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000508/0.4166, allocations: 0.6858 MB / 0.6844 GB, free: 57.19 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.4167, allocations: 51.59 kB / 0.6844 GB, free: 57.16 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/0.417, allocations: 0.5701 MB / 0.685 GB, free: 56.93 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.4171, allocations: 276.3 kB / 0.6852 GB, free: 56.79 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.4173, allocations: 166 kB / 0.6854 GB, free: 56.77 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.798e-05/0.4174, allocations: 0.5114 MB / 0.6859 GB, free: 56.28 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.4175, allocations: 92.91 kB / 0.686 GB, free: 56.28 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/0.4178, allocations: 336.4 kB / 0.6863 GB, free: 56.06 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004035/0.4182, allocations: 308.6 kB / 0.6866 GB, free: 56 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.4182, allocations: 0 / 0.6866 GB, free: 56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009515/0.4192, allocations: 0.5734 MB / 0.6872 GB, free: 55.88 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.4192, allocations: 5.625 kB / 0.6872 GB, free: 55.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.4192, allocations: 0.7812 kB / 0.6872 GB, free: 55.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005451/0.4197, allocations: 135.6 kB / 0.6873 GB, free: 55.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004403/0.4202, allocations: 154.3 kB / 0.6874 GB, free: 55.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.4215, allocations: 1.873 MB / 0.6893 GB, free: 54.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003694/0.4218, allocations: 74.3 kB / 0.6893 GB, free: 54.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.048e-05/0.4219, allocations: 29.42 kB / 0.6894 GB, free: 54.12 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.0002404/0.4221, allocations: 207.2 kB / 0.6896 GB, free: 53.96 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.4223, allocations: 131.2 kB / 0.6897 GB, free: 53.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.4236, allocations: 0.7668 MB / 0.6904 GB, free: 53.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.4236, allocations: 11.28 kB / 0.6905 GB, free: 53.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4236, allocations: 3.312 kB / 0.6905 GB, free: 53.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.4236, allocations: 4.266 kB / 0.6905 GB, free: 53.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006748/0.4243, allocations: 0.5364 MB / 0.691 GB, free: 53.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.4243, allocations: 0 / 0.691 GB, free: 53.67 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003858/0.4247, allocations: 140.1 kB / 0.6911 GB, free: 53.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004602/0.4251, allocations: 116.8 kB / 0.6912 GB, free: 53.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.646e-05/0.4252, allocations: 24.92 kB / 0.6913 GB, free: 53.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/0.4262, allocations: 1.882 MB / 0.6931 GB, free: 51.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4262, allocations: 3 kB / 0.6931 GB, free: 51.93 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.4273, allocations: 0.6848 MB / 0.6938 GB, free: 51.75 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002949/0.4276, allocations: 212.6 kB / 0.694 GB, free: 51.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.4277, allocations: 19.3 kB / 0.694 GB, free: 51.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.428, allocations: 40.47 kB / 0.694 GB, free: 51.69 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.4281, allocations: 68.84 kB / 0.6941 GB, free: 51.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.309e-05/0.4282, allocations: 28.28 kB / 0.6941 GB, free: 51.68 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003688/0.4286, allocations: 440.4 kB / 0.6945 GB, free: 51.55 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4286, allocations: 0.9062 kB / 0.6945 GB, free: 51.55 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008213/0.4294, allocations: 356.6 kB / 0.6949 GB, free: 51.52 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.001424/0.4308, allocations: 0.6194 MB / 0.6955 GB, free: 51.38 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008444/0.4317, allocations: 0.573 MB / 0.696 GB, free: 51.18 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4317, allocations: 0.6562 kB / 0.696 GB, free: 51.18 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004995/0.4322, allocations: 435.3 kB / 0.6965 GB, free: 50.99 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.4334, allocations: 490.1 kB / 0.6969 GB, free: 50.96 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003025/0.4364, allocations: 1.771 MB / 0.6987 GB, free: 50.11 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/0.4366, allocations: 217.7 kB / 0.6989 GB, free: 50.03 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006283/0.4372, allocations: 214.3 kB / 0.6991 GB, free: 49.97 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007899/0.438, allocations: 410.5 kB / 0.6995 GB, free: 49.91 MB / 0.6355 GB Notification: Performance of SimCode: time 8.31e-07/0.438, allocations: 0 / 0.6995 GB, free: 49.91 MB / 0.6355 GB Notification: Performance of Templates: time 0.02978/0.4678, allocations: 18.92 MB / 0.7179 GB, free: 48.02 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.841310901101679]