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.001397/0.001397, allocations: 92.7 kB / 19.44 MB, free: 324 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.001625/0.001625, allocations: 161.3 kB / 22.75 MB, free: 1.652 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.453/1.453, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.21/1.21, allocations: 154.8 MB / 414.3 MB, free: 464 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 / 0.5198 GB, free: 2.344 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.902e-05/3.074e-05, allocations: 3.734 kB / 0.5198 GB, free: 2.34 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008088/0.008119, allocations: 5.082 MB / 0.5248 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1916/0.1998, allocations: 133 MB / 0.6547 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/0.2011, allocations: 35.69 kB / 0.6547 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00133/0.2024, allocations: 377.2 kB / 0.6551 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00264/0.205, allocations: 0.59 MB / 0.6557 GB, free: 6.906 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002627/0.2077, allocations: 0.9037 MB / 0.6565 GB, free: 6 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002577/0.2102, allocations: 1.612 MB / 0.6581 GB, free: 4.379 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001222/0.2115, allocations: 491 kB / 0.6586 GB, free: 3.867 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001739/0.2132, allocations: 0.8147 MB / 0.6594 GB, free: 3.051 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009203/0.2141, allocations: 446.5 kB / 0.6598 GB, free: 2.613 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000309/0.2144, allocations: 136 kB / 0.6599 GB, free: 2.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00119/0.2156, allocations: 0.4993 MB / 0.6604 GB, free: 1.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003857/0.216, allocations: 346.8 kB / 0.6607 GB, free: 1.641 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0005666/0.2166, allocations: 434.8 kB / 0.6612 GB, free: 1.215 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002903/0.2195, allocations: 2.056 MB / 0.6632 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2195, allocations: 0 / 0.6632 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2195, allocations: 0 / 0.6632 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.278e-05/0.2195, allocations: 0 / 0.6632 GB, free: 15.15 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.003195/0.2227, allocations: 1.655 MB / 0.6648 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.2228, allocations: 8.031 kB / 0.6648 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001732/0.2245, allocations: 379.3 kB / 0.6652 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/0.2262, allocations: 0.8893 MB / 0.666 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-05/0.2263, allocations: 74.12 kB / 0.6661 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.2264, allocations: 100 kB / 0.6662 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.2287, allocations: 1.287 MB / 0.6674 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.2287, allocations: 4 kB / 0.6675 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.2288, allocations: 43.98 kB / 0.6675 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.684e-05/0.2288, allocations: 24 kB / 0.6675 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/0.231, allocations: 1.124 MB / 0.6686 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005022/0.236, allocations: 2.392 MB / 0.671 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/0.2377, allocations: 0.7393 MB / 0.6717 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006002/0.2383, allocations: 274.7 kB / 0.6719 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.551e-05/0.2384, allocations: 32.62 kB / 0.672 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00117/0.2396, allocations: 0.5855 MB / 0.6725 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=78): time 2.755e-06/0.2396, allocations: 0 / 0.6725 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78): time 0.003588/0.2432, allocations: 1.162 MB / 0.6737 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001583/0.2433, allocations: 192.6 kB / 0.6739 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.2446, allocations: 0.7513 MB / 0.6746 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.064e-05/0.2446, allocations: 45.7 kB / 0.6746 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006042/0.2452, allocations: 0.5164 MB / 0.6751 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/0.2455, allocations: 265.8 kB / 0.6754 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002962/0.2458, allocations: 158.6 kB / 0.6755 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002007/0.246, allocations: 338 kB / 0.6759 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006039/0.2466, allocations: 269.8 kB / 0.6761 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008887/0.2475, allocations: 491.6 kB / 0.6766 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.2488, allocations: 0.5994 MB / 0.6772 GB, free: 412 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.2488, allocations: 3.938 kB / 0.6772 GB, free: 408 kB / 0.6355 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.2519/0.5007, allocations: 0.891 MB / 0.678 GB, free: 200.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.5007, allocations: 11.38 kB / 0.6781 GB, free: 200.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.5008, allocations: 0 / 0.6781 GB, free: 200.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009737/0.5017, allocations: 129.4 kB / 0.6782 GB, free: 200.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005912/0.5023, allocations: 157.3 kB / 0.6783 GB, free: 200.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/0.5041, allocations: 1.517 MB / 0.6798 GB, free: 198.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009476/0.505, allocations: 82.19 kB / 0.6799 GB, free: 198.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.729e-05/0.5051, allocations: 44.47 kB / 0.6799 GB, free: 198.9 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.0004799/0.5056, allocations: 293.3 kB / 0.6802 GB, free: 198.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/0.5058, allocations: 129.9 kB / 0.6803 GB, free: 198.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002135/0.5079, allocations: 1.064 MB / 0.6814 GB, free: 198.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.5079, allocations: 8.469 kB / 0.6814 GB, free: 198.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.508, allocations: 2 kB / 0.6814 GB, free: 198.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.508, allocations: 3.281 kB / 0.6814 GB, free: 198.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007994/0.5088, allocations: 0.7247 MB / 0.6821 GB, free: 198.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.5088, allocations: 2.844 kB / 0.6821 GB, free: 198.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005221/0.5093, allocations: 140 kB / 0.6822 GB, free: 198.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007247/0.51, allocations: 121 kB / 0.6824 GB, free: 198.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.068e-05/0.5101, allocations: 27 kB / 0.6824 GB, free: 198.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.5116, allocations: 1.549 MB / 0.6839 GB, free: 196.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5116, allocations: 0.5625 kB / 0.6839 GB, free: 196.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/0.5135, allocations: 0.9653 MB / 0.6848 GB, free: 196.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003661/0.5138, allocations: 220.3 kB / 0.685 GB, free: 196.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.514, allocations: 19.66 kB / 0.6851 GB, free: 196.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006236/0.5146, allocations: 59.95 kB / 0.6851 GB, free: 196.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.5147, allocations: 73.11 kB / 0.6852 GB, free: 196.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.525e-05/0.5148, allocations: 39.17 kB / 0.6852 GB, free: 196.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005975/0.5154, allocations: 0.5197 MB / 0.6857 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5154, allocations: 0 / 0.6857 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009106/0.5163, allocations: 362 kB / 0.6861 GB, free: 195.9 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.002319/0.5186, allocations: 0.6603 MB / 0.6867 GB, free: 195.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001539/0.5202, allocations: 0.7995 MB / 0.6875 GB, free: 195.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5202, allocations: 0 / 0.6875 GB, free: 195.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007997/0.521, allocations: 496.9 kB / 0.688 GB, free: 195.2 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/0.5226, allocations: 491.5 kB / 0.6884 GB, free: 195.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/0.5256, allocations: 1.987 MB / 0.6904 GB, free: 194 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.526, allocations: 0.5171 MB / 0.6909 GB, free: 193.9 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008051/0.5268, allocations: 286.3 kB / 0.6912 GB, free: 193.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/0.5271, allocations: 114.8 kB / 0.6913 GB, free: 193.8 MB / 0.6355 GB Notification: Performance of SimCode: time 1.162e-06/0.5271, allocations: 0 / 0.6913 GB, free: 193.8 MB / 0.6355 GB Notification: Performance of Templates: time 0.02884/0.5559, allocations: 17.63 MB / 0.7085 GB, free: 191.8 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.996906494023278]