Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.001012/0.001012, allocations: 92.22 kB / 19.65 MB, free: 276 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.001217/0.001217, allocations: 169 kB / 23.02 MB, free: 1.551 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.9377/0.9377, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.7911/0.7911, allocations: 154.8 MB / 414.7 MB, free: 500 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.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.5205 GB, free: 2.016 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.893e-05, allocations: 5.969 kB / 0.5205 GB, free: 2.012 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006974/0.007003, allocations: 4.579 MB / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1359/0.1429, allocations: 146.6 MB / 0.6681 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008216/0.1437, allocations: 27.81 kB / 0.6681 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006387/0.1444, allocations: 186.2 kB / 0.6683 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001674/0.146, allocations: 0.5591 MB / 0.6689 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.1478, allocations: 0.888 MB / 0.6697 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001609/0.1494, allocations: 1.443 MB / 0.6711 GB, free: 7.41 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006024/0.15, allocations: 344.5 kB / 0.6715 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009039/0.1509, allocations: 0.7017 MB / 0.6722 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005266/0.1514, allocations: 402.8 kB / 0.6725 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001501/0.1516, allocations: 112 kB / 0.6726 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/0.153, allocations: 0.8229 MB / 0.6735 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001906/0.1532, allocations: 295 kB / 0.6737 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002674/0.1534, allocations: 367 kB / 0.6741 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.1549, allocations: 1.472 MB / 0.6755 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1549, allocations: 0 / 0.6755 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1549, allocations: 3.938 kB / 0.6755 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.1549, allocations: 0 / 0.6755 GB, free: 2.895 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.001602/0.1565, allocations: 1.527 MB / 0.677 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1566, allocations: 8.031 kB / 0.677 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.1578, allocations: 351.5 kB / 0.6774 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007714/0.1585, allocations: 0.7208 MB / 0.6781 GB, free: 228 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.726e-05/0.1586, allocations: 58.12 kB / 0.6781 GB, free: 168 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.43e-05/0.1587, allocations: 79.98 kB / 0.6782 GB, free: 88 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3029/0.4616, allocations: 0.9761 MB / 0.6791 GB, free: 56.29 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.4616, allocations: 3.094 kB / 0.6791 GB, free: 56.29 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.679e-05/0.4617, allocations: 35.34 kB / 0.6792 GB, free: 56.29 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.4617, allocations: 20.25 kB / 0.6792 GB, free: 56.29 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000857/0.4625, allocations: 0.7826 MB / 0.68 GB, free: 56.28 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002474/0.465, allocations: 2.246 MB / 0.6822 GB, free: 55.35 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007411/0.4658, allocations: 495.7 kB / 0.6826 GB, free: 55.31 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.466, allocations: 175.2 kB / 0.6828 GB, free: 55.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.296e-05/0.466, allocations: 27.5 kB / 0.6828 GB, free: 55.29 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004532/0.4665, allocations: 0.4938 MB / 0.6833 GB, free: 55.09 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=82): time 3.377e-06/0.4665, allocations: 2 kB / 0.6833 GB, free: 55.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=82): time 0.001508/0.468, allocations: 0.8269 MB / 0.6841 GB, free: 54.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.468, allocations: 191.8 kB / 0.6843 GB, free: 54.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004576/0.4685, allocations: 0.6084 MB / 0.6849 GB, free: 54.58 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.631e-05/0.4686, allocations: 45.52 kB / 0.6849 GB, free: 54.55 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.4687, allocations: 442.9 kB / 0.6854 GB, free: 54.35 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.4689, allocations: 275.4 kB / 0.6856 GB, free: 54.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.4691, allocations: 178 kB / 0.6858 GB, free: 54.18 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.896e-05/0.4692, allocations: 0.5628 MB / 0.6863 GB, free: 53.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.4694, allocations: 138.4 kB / 0.6865 GB, free: 53.68 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002874/0.4697, allocations: 387.8 kB / 0.6868 GB, free: 53.45 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004764/0.4701, allocations: 394.6 kB / 0.6872 GB, free: 53.37 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.4701, allocations: 1.25 kB / 0.6872 GB, free: 53.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0009473/0.4711, allocations: 0.6542 MB / 0.6879 GB, free: 53.27 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.4711, allocations: 8.031 kB / 0.6879 GB, free: 53.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4711, allocations: 3.094 kB / 0.6879 GB, free: 53.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004519/0.4716, allocations: 130.3 kB / 0.688 GB, free: 53.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003726/0.4719, allocations: 175.7 kB / 0.6882 GB, free: 53.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001095/0.473, allocations: 1.903 MB / 0.69 GB, free: 51.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00033/0.4734, allocations: 76.19 kB / 0.6901 GB, free: 51.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.626e-05/0.4734, allocations: 44.52 kB / 0.6901 GB, free: 51.48 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.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 (97): * Single equations (assignments): 96 * 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.0001817/0.4736, allocations: 206.8 kB / 0.6903 GB, free: 51.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.4737, allocations: 120.2 kB / 0.6904 GB, free: 51.27 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.4749, allocations: 0.9223 MB / 0.6913 GB, free: 51.18 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.475, allocations: 9.094 kB / 0.6914 GB, free: 51.18 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.475, allocations: 0.5469 kB / 0.6914 GB, free: 51.18 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.475, allocations: 5.031 kB / 0.6914 GB, free: 51.18 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005145/0.4755, allocations: 0.6 MB / 0.6919 GB, free: 51.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.4755, allocations: 0 / 0.6919 GB, free: 51.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003116/0.4758, allocations: 160.1 kB / 0.6921 GB, free: 51.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003413/0.4761, allocations: 112.4 kB / 0.6922 GB, free: 51.01 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.23e-05/0.4762, allocations: 32.14 kB / 0.6922 GB, free: 51.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000869/0.477, allocations: 1.931 MB / 0.6941 GB, free: 49.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.477, allocations: 0 / 0.6941 GB, free: 49.25 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009827/0.478, allocations: 0.7682 MB / 0.6949 GB, free: 49.08 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002501/0.4783, allocations: 207.2 kB / 0.6951 GB, free: 49.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.821e-05/0.4783, allocations: 24.52 kB / 0.6951 GB, free: 49.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.4786, allocations: 43.66 kB / 0.6951 GB, free: 49.03 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.4787, allocations: 87.2 kB / 0.6952 GB, free: 49.03 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.425e-05/0.4787, allocations: 38.55 kB / 0.6953 GB, free: 49.03 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002823/0.479, allocations: 413.1 kB / 0.6957 GB, free: 48.89 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.479, allocations: 3.969 kB / 0.6957 GB, free: 48.89 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006928/0.4797, allocations: 340.1 kB / 0.696 GB, free: 48.88 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,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 5 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * 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.001412/0.4811, allocations: 0.6541 MB / 0.6966 GB, free: 48.75 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009389/0.4821, allocations: 0.667 MB / 0.6973 GB, free: 48.54 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4821, allocations: 1.156 kB / 0.6973 GB, free: 48.54 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004449/0.4825, allocations: 492.9 kB / 0.6977 GB, free: 48.35 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006907/0.4832, allocations: 334.8 kB / 0.6981 GB, free: 48.32 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.4854, allocations: 1.512 MB / 0.6995 GB, free: 47.65 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.4855, allocations: 197.1 kB / 0.6997 GB, free: 47.57 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005136/0.486, allocations: 264.4 kB / 0.7 GB, free: 47.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.4862, allocations: 119.2 kB / 0.7001 GB, free: 47.52 MB / 0.6355 GB Notification: Performance of SimCode: time 1.723e-06/0.4862, allocations: 3.781 kB / 0.7001 GB, free: 47.52 MB / 0.6355 GB Notification: Performance of Templates: time 0.02317/0.5094, allocations: 16.43 MB / 0.7161 GB, free: 45.89 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.055914644151926]