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.0009484/0.0009484, allocations: 81.17 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.0009597/0.0009597, allocations: 169 kB / 23.27 MB, free: 1.223 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.8969/0.8969, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.7376/0.7376, allocations: 154.9 MB / 415.1 MB, free: 268 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 1.423e-06/1.423e-06, allocations: 0 / 0.5211 GB, free: 500 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.266e-05/1.409e-05, allocations: 3.375 kB / 0.5211 GB, free: 496 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004399/0.004413, allocations: 4.484 MB / 0.5255 GB, free: 12.01 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.42/0.4244, allocations: 143.8 MB / 0.6659 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006829/0.4251, allocations: 22.97 kB / 0.6659 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005102/0.4256, allocations: 194.2 kB / 0.6661 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.427, allocations: 0.5809 MB / 0.6667 GB, free: 15.03 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.4286, allocations: 0.8759 MB / 0.6675 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001512/0.4301, allocations: 1.448 MB / 0.669 GB, free: 15.01 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005756/0.4307, allocations: 350.2 kB / 0.6693 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/0.4318, allocations: 0.7434 MB / 0.67 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004535/0.4322, allocations: 365.5 kB / 0.6704 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.4324, allocations: 98.56 kB / 0.6705 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.4335, allocations: 0.8099 MB / 0.6712 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001923/0.4337, allocations: 277.3 kB / 0.6715 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003077/0.434, allocations: 343.2 kB / 0.6718 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.4355, allocations: 1.436 MB / 0.6732 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.4355, allocations: 2.219 kB / 0.6732 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4356, allocations: 1.203 kB / 0.6732 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.28e-05/0.4356, allocations: 4 kB / 0.6733 GB, free: 14.8 MB / 0.5573 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.00156/0.4371, allocations: 1.527 MB / 0.6747 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.4372, allocations: 11.41 kB / 0.6748 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008859/0.4381, allocations: 328.9 kB / 0.6751 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006585/0.4387, allocations: 0.7164 MB / 0.6758 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.789e-05/0.4387, allocations: 59.61 kB / 0.6758 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-05/0.4388, allocations: 84.45 kB / 0.6759 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000663/0.4395, allocations: 0.8566 MB / 0.6767 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.4395, allocations: 0 / 0.6767 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.361e-05/0.4395, allocations: 29.44 kB / 0.6768 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.4395, allocations: 21.22 kB / 0.6768 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005995/0.4401, allocations: 0.6763 MB / 0.6774 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.4419, allocations: 2.11 MB / 0.6795 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005222/0.4424, allocations: 442.4 kB / 0.6799 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.4426, allocations: 155.2 kB / 0.6801 GB, free: 12.01 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.916e-05/0.4427, allocations: 54.25 kB / 0.6801 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003457/0.443, allocations: 467.4 kB / 0.6806 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=82): time 2.685e-06/0.443, allocations: 0 / 0.6806 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of matching and sorting (n=82): time 0.001236/0.4442, allocations: 0.7529 MB / 0.6813 GB, free: 11.65 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.4443, allocations: 195.6 kB / 0.6815 GB, free: 11.43 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003564/0.4446, allocations: 0.5836 MB / 0.6821 GB, free: 11.24 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.205e-05/0.4447, allocations: 38.27 kB / 0.6821 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.4449, allocations: 442.5 kB / 0.6825 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.445, allocations: 279.1 kB / 0.6828 GB, free: 10.81 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.4452, allocations: 187.3 kB / 0.683 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.4453, allocations: 0.5672 MB / 0.6835 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.4454, allocations: 103.2 kB / 0.6836 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.4456, allocations: 359.8 kB / 0.684 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.446, allocations: 335.3 kB / 0.6843 GB, free: 9.969 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.446, allocations: 3.562 kB / 0.6843 GB, free: 9.969 MB / 0.5573 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.000786/0.4468, allocations: 0.6004 MB / 0.6849 GB, free: 9.848 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.4468, allocations: 5.344 kB / 0.6849 GB, free: 9.848 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.4468, allocations: 2.656 kB / 0.6849 GB, free: 9.848 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004128/0.4472, allocations: 128.3 kB / 0.685 GB, free: 9.828 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003359/0.4475, allocations: 167.4 kB / 0.6852 GB, free: 9.828 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001023/0.4486, allocations: 1.876 MB / 0.687 GB, free: 8.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002781/0.4488, allocations: 77.34 kB / 0.6871 GB, free: 8.059 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.4489, allocations: 38.5 kB / 0.6871 GB, free: 8.055 MB / 0.5573 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.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.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.0001802/0.4491, allocations: 208.1 kB / 0.6873 GB, free: 7.895 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.4492, allocations: 112.9 kB / 0.6874 GB, free: 7.848 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.4503, allocations: 0.8592 MB / 0.6883 GB, free: 7.695 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.4503, allocations: 10.8 kB / 0.6883 GB, free: 7.695 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.4503, allocations: 0 / 0.6883 GB, free: 7.695 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.4503, allocations: 6.203 kB / 0.6883 GB, free: 7.695 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004583/0.4507, allocations: 0.4916 MB / 0.6888 GB, free: 7.543 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.4507, allocations: 2.625 kB / 0.6888 GB, free: 7.543 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003022/0.451, allocations: 156 kB / 0.6889 GB, free: 7.543 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003234/0.4514, allocations: 109.9 kB / 0.689 GB, free: 7.527 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.564e-05/0.4514, allocations: 29.84 kB / 0.689 GB, free: 7.527 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007795/0.4522, allocations: 1.893 MB / 0.6909 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4522, allocations: 8.031 kB / 0.6909 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007682/0.4529, allocations: 0.7029 MB / 0.6916 GB, free: 5.605 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/0.4532, allocations: 200.5 kB / 0.6918 GB, free: 5.543 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.093e-05/0.4532, allocations: 22.5 kB / 0.6918 GB, free: 5.539 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.4534, allocations: 39.81 kB / 0.6918 GB, free: 5.539 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.61e-05/0.4535, allocations: 74.06 kB / 0.6919 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.266e-05/0.4536, allocations: 32.33 kB / 0.6919 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002147/0.4538, allocations: 380 kB / 0.6923 GB, free: 5.402 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.4538, allocations: 3.828 kB / 0.6923 GB, free: 5.402 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006025/0.4544, allocations: 337.3 kB / 0.6926 GB, free: 5.344 MB / 0.5573 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.001157/0.4555, allocations: 0.6361 MB / 0.6932 GB, free: 5.164 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006175/0.4562, allocations: 0.6104 MB / 0.6938 GB, free: 4.953 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4562, allocations: 0 / 0.6938 GB, free: 4.953 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003518/0.4565, allocations: 460.4 kB / 0.6943 GB, free: 4.758 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006412/0.4572, allocations: 334 kB / 0.6946 GB, free: 4.73 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.4589, allocations: 1.486 MB / 0.696 GB, free: 4.023 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.459, allocations: 196.7 kB / 0.6962 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003881/0.4594, allocations: 193.2 kB / 0.6964 GB, free: 3.879 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005156/0.4599, allocations: 374.5 kB / 0.6968 GB, free: 3.809 MB / 0.5573 GB Notification: Performance of SimCode: time 9.62e-07/0.4599, allocations: 0 / 0.6968 GB, free: 3.809 MB / 0.5573 GB Notification: Performance of Templates: time 0.01787/0.4778, allocations: 17.49 MB / 0.7139 GB, free: 12.3 MB / 0.573 GB " [Timeout remaining time 660] 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: 4.348484138958156]