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.001152/0.001152, allocations: 73.88 kB / 20.66 MB, free: 3.848 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.001241/0.001241, allocations: 173 kB / 24.06 MB, free: 452 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 1.039/1.039, 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 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.9008/0.9008, allocations: 154.6 MB / 415.6 MB, free: 0.5391 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.834e-06/1.834e-06, allocations: 0 / 0.5215 GB, free: 1.938 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.142e-05/3.325e-05, allocations: 5.547 kB / 0.5215 GB, free: 1.934 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008249/0.008283, allocations: 5.288 MB / 0.5267 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1438/0.1521, allocations: 144.1 MB / 0.6674 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009435/0.153, allocations: 39.62 kB / 0.6674 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006405/0.1537, allocations: 381.2 kB / 0.6678 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001314/0.155, allocations: 0.6016 MB / 0.6684 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001546/0.1565, allocations: 0.9115 MB / 0.6693 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001024/0.1575, allocations: 1.6 MB / 0.6708 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005745/0.1581, allocations: 498.9 kB / 0.6713 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006954/0.1588, allocations: 0.8497 MB / 0.6722 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003465/0.1592, allocations: 410.6 kB / 0.6725 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.1593, allocations: 124 kB / 0.6727 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005738/0.1598, allocations: 499.4 kB / 0.6731 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000214/0.1601, allocations: 334.8 kB / 0.6735 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002604/0.1603, allocations: 414.8 kB / 0.6739 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.1614, allocations: 1.377 MB / 0.6752 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1614, allocations: 0 / 0.6752 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1615, allocations: 0 / 0.6752 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.1615, allocations: 0 / 0.6752 GB, free: 4.121 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.002195/0.1637, allocations: 1.767 MB / 0.6769 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.1637, allocations: 8.031 kB / 0.6769 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009468/0.1646, allocations: 367.4 kB / 0.6773 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.1657, allocations: 0.859 MB / 0.6781 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.896e-05/0.1657, allocations: 78.12 kB / 0.6782 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-05/0.1658, allocations: 96 kB / 0.6783 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.298/0.4638, allocations: 0.9493 MB / 0.6792 GB, free: 59.12 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/0.4639, allocations: 0 / 0.6792 GB, free: 59.12 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.919e-05/0.4639, allocations: 47.38 kB / 0.6793 GB, free: 59.12 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.464, allocations: 25.16 kB / 0.6793 GB, free: 59.12 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007773/0.4647, allocations: 0.6955 MB / 0.68 GB, free: 59.11 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002649/0.4674, allocations: 2.297 MB / 0.6822 GB, free: 58.29 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005684/0.468, allocations: 419.9 kB / 0.6826 GB, free: 58.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.4681, allocations: 137.5 kB / 0.6827 GB, free: 58.24 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.909e-05/0.4681, allocations: 30.84 kB / 0.6828 GB, free: 58.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003826/0.4685, allocations: 447 kB / 0.6832 GB, free: 58.03 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=78): time 2.405e-06/0.4685, allocations: 0.8125 kB / 0.6832 GB, free: 58.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78): time 0.001355/0.4699, allocations: 0.7232 MB / 0.6839 GB, free: 57.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.4699, allocations: 192.5 kB / 0.6841 GB, free: 57.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005405/0.4705, allocations: 0.6886 MB / 0.6848 GB, free: 57.51 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.198e-05/0.4705, allocations: 41.98 kB / 0.6848 GB, free: 57.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000298/0.4708, allocations: 0.5775 MB / 0.6854 GB, free: 57.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.471, allocations: 269.7 kB / 0.6856 GB, free: 57.11 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.4711, allocations: 167.8 kB / 0.6858 GB, free: 57.08 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.161e-05/0.4712, allocations: 0.5112 MB / 0.6863 GB, free: 56.6 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.4713, allocations: 97.2 kB / 0.6864 GB, free: 56.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.4715, allocations: 337.4 kB / 0.6867 GB, free: 56.38 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003276/0.4719, allocations: 306 kB / 0.687 GB, free: 56.31 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4719, allocations: 0 / 0.687 GB, free: 56.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008284/0.4727, allocations: 0.5773 MB / 0.6875 GB, free: 56.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.4727, allocations: 6.875 kB / 0.6876 GB, free: 56.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.4727, allocations: 0 / 0.6876 GB, free: 56.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000458/0.4732, allocations: 136 kB / 0.6877 GB, free: 56.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.4735, allocations: 155.3 kB / 0.6878 GB, free: 56.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.4747, allocations: 1.869 MB / 0.6897 GB, free: 54.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003297/0.475, allocations: 73.62 kB / 0.6897 GB, free: 54.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.102e-05/0.4751, allocations: 29.62 kB / 0.6898 GB, free: 54.44 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.0002364/0.4753, allocations: 209.1 kB / 0.69 GB, free: 54.28 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.4754, allocations: 131.9 kB / 0.6901 GB, free: 54.22 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.4764, allocations: 0.7582 MB / 0.6908 GB, free: 54.12 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.4764, allocations: 8.781 kB / 0.6908 GB, free: 54.12 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.4764, allocations: 3.75 kB / 0.6908 GB, free: 54.12 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.4764, allocations: 7.969 kB / 0.6908 GB, free: 54.12 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005527/0.477, allocations: 0.5372 MB / 0.6914 GB, free: 53.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.477, allocations: 0.8125 kB / 0.6914 GB, free: 53.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002806/0.4773, allocations: 144.1 kB / 0.6915 GB, free: 53.99 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003618/0.4776, allocations: 110 kB / 0.6916 GB, free: 53.98 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.654e-05/0.4777, allocations: 22.5 kB / 0.6916 GB, free: 53.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000887/0.4786, allocations: 1.892 MB / 0.6935 GB, free: 52.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4786, allocations: 0.875 kB / 0.6935 GB, free: 52.25 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009863/0.4796, allocations: 0.6869 MB / 0.6941 GB, free: 52.07 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002345/0.4798, allocations: 203.1 kB / 0.6943 GB, free: 52.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.014e-05/0.4799, allocations: 21.25 kB / 0.6944 GB, free: 52.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.4801, allocations: 40.25 kB / 0.6944 GB, free: 52.02 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.178e-05/0.4802, allocations: 68.27 kB / 0.6945 GB, free: 52.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/0.4802, allocations: 29.16 kB / 0.6945 GB, free: 52.02 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002654/0.4805, allocations: 439 kB / 0.6949 GB, free: 51.88 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.4805, allocations: 1.094 kB / 0.6949 GB, free: 51.88 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006901/0.4812, allocations: 361 kB / 0.6953 GB, free: 51.85 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.001299/0.4825, allocations: 0.62 MB / 0.6959 GB, free: 51.72 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006876/0.4832, allocations: 0.5755 MB / 0.6964 GB, free: 51.51 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4832, allocations: 0 / 0.6964 GB, free: 51.51 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003576/0.4835, allocations: 439.6 kB / 0.6968 GB, free: 51.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009156/0.4844, allocations: 479.7 kB / 0.6973 GB, free: 51.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.4868, allocations: 1.775 MB / 0.699 GB, free: 50.44 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.4869, allocations: 214.8 kB / 0.6992 GB, free: 50.36 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005241/0.4874, allocations: 206.5 kB / 0.6994 GB, free: 50.31 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006167/0.4881, allocations: 410.6 kB / 0.6998 GB, free: 50.25 MB / 0.6355 GB Notification: Performance of SimCode: time 1.123e-06/0.4881, allocations: 0.875 kB / 0.6998 GB, free: 50.25 MB / 0.6355 GB Notification: Performance of Templates: time 0.02589/0.514, allocations: 19.16 MB / 0.7185 GB, free: 48.29 MB / 0.6355 GB " [Timeout remaining time 659] 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: 5.069424278102815]