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.001308/0.001308, allocations: 79.2 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001483/0.001483, allocations: 168.4 kB / 22.46 MB, free: 5.379 MB / 14.72 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.438/1.438, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 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-531:190: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-531:198: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.233/1.233, allocations: 154.5 MB / 413.7 MB, free: 5.289 MB / 382.1 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.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.924e-06/1.924e-06, allocations: 0 / 0.6185 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.622e-05/4.814e-05, allocations: 9.391 kB / 0.6185 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.007733/0.007781, allocations: 4.304 MB / 0.6227 GB, free: 352 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5166/0.5244, allocations: 132.7 MB / 0.7523 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008234/0.5252, allocations: 23.84 kB / 0.7523 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000665/0.5259, allocations: 195.9 kB / 0.7525 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001881/0.5278, allocations: 0.5598 MB / 0.7531 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.5298, allocations: 0.8869 MB / 0.7539 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001658/0.5314, allocations: 1.444 MB / 0.7553 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007171/0.5322, allocations: 358.5 kB / 0.7557 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00154/0.5337, allocations: 0.6991 MB / 0.7564 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000718/0.5344, allocations: 396.9 kB / 0.7567 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002748/0.5347, allocations: 112.3 kB / 0.7569 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001585/0.5363, allocations: 0.8231 MB / 0.7577 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002903/0.5366, allocations: 297.6 kB / 0.7579 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005791/0.5371, allocations: 367.4 kB / 0.7583 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002594/0.5397, allocations: 1.964 MB / 0.7602 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.5397, allocations: 1.375 kB / 0.7602 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5397, allocations: 0 / 0.7602 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.631e-05/0.5398, allocations: 0 / 0.7602 GB, free: 2.82 MB / 0.6075 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.002674/0.5425, allocations: 1.437 MB / 0.7616 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.5425, allocations: 11.41 kB / 0.7616 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001801/0.5443, allocations: 271.9 kB / 0.7619 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.5454, allocations: 0.7109 MB / 0.7626 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.938e-05/0.5455, allocations: 58.59 kB / 0.7626 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.729e-05/0.5456, allocations: 71.5 kB / 0.7627 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.5472, allocations: 1.149 MB / 0.7638 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.5472, allocations: 2.484 kB / 0.7638 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.118e-05/0.5473, allocations: 36.69 kB / 0.7639 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/0.5473, allocations: 18.94 kB / 0.7639 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/0.5491, allocations: 1.082 MB / 0.7649 GB, free: 312 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003875/0.553, allocations: 2.126 MB / 0.767 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.5547, allocations: 0.782 MB / 0.7678 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006875/0.5554, allocations: 311.2 kB / 0.7681 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.185e-05/0.5554, allocations: 22.02 kB / 0.7681 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/0.5565, allocations: 0.6225 MB / 0.7687 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 2.835e-06/0.5565, allocations: 3.938 kB / 0.7687 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.003643/0.5602, allocations: 1.221 MB / 0.7699 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.5603, allocations: 192 kB / 0.7701 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008135/0.5611, allocations: 0.6344 MB / 0.7707 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.477e-05/0.5612, allocations: 42.14 kB / 0.7707 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003561/0.5616, allocations: 389.6 kB / 0.7711 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/0.5618, allocations: 277.3 kB / 0.7714 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000273/0.5621, allocations: 172.7 kB / 0.7715 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000216/0.5623, allocations: 389 kB / 0.7719 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006711/0.563, allocations: 299 kB / 0.7722 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008602/0.5638, allocations: 0.5154 MB / 0.7727 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/0.5653, allocations: 0.6689 MB / 0.7734 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.5653, allocations: 3 kB / 0.7734 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00232/0.5676, allocations: 0.9217 MB / 0.7743 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.5676, allocations: 5.438 kB / 0.7743 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.5676, allocations: 2.531 kB / 0.7743 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005986/0.5682, allocations: 90.02 kB / 0.7743 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007339/0.569, allocations: 179.2 kB / 0.7745 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.5712, allocations: 1.515 MB / 0.776 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008611/0.572, allocations: 101.6 kB / 0.7761 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.702e-05/0.5721, allocations: 42.39 kB / 0.7761 GB, free: 8.461 MB / 0.6231 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.0004603/0.5726, allocations: 271.7 kB / 0.7764 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.5727, allocations: 83.39 kB / 0.7765 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00288/0.5756, allocations: 1.202 MB / 0.7776 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.5756, allocations: 10.22 kB / 0.7777 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.5756, allocations: 0 / 0.7777 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.5756, allocations: 3.984 kB / 0.7777 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009829/0.5766, allocations: 0.6634 MB / 0.7783 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.5766, allocations: 4 kB / 0.7783 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006488/0.5773, allocations: 162.1 kB / 0.7785 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004695/0.5777, allocations: 81.69 kB / 0.7785 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-05/0.5778, allocations: 34.97 kB / 0.7786 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/0.5798, allocations: 1.525 MB / 0.7801 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5798, allocations: 0 / 0.7801 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002287/0.582, allocations: 1.009 MB / 0.7811 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000444/0.5825, allocations: 215 kB / 0.7813 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.5826, allocations: 20.03 kB / 0.7813 GB, free: 4.805 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006859/0.5833, allocations: 74.36 kB / 0.7814 GB, free: 4.766 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/0.5835, allocations: 79.5 kB / 0.7814 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.537e-05/0.5836, allocations: 39.91 kB / 0.7815 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005906/0.5842, allocations: 457 kB / 0.7819 GB, free: 4.438 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.5842, allocations: 0 / 0.7819 GB, free: 4.438 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001/0.5852, allocations: 346.5 kB / 0.7822 GB, free: 4.332 MB / 0.6231 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.002154/0.5873, allocations: 0.6811 MB / 0.7829 GB, free: 4.059 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002093/0.5894, allocations: 0.8647 MB / 0.7837 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.5894, allocations: 0 / 0.7837 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.5905, allocations: 0.5203 MB / 0.7842 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.592, allocations: 292.3 kB / 0.7845 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003274/0.5953, allocations: 1.695 MB / 0.7862 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.5957, allocations: 433.8 kB / 0.7866 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008258/0.5965, allocations: 268.4 kB / 0.7869 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002989/0.5968, allocations: 125.5 kB / 0.787 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of SimCode: time 8.82e-07/0.5968, allocations: 0 / 0.787 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of Templates: time 0.02845/0.6252, allocations: 16.3 MB / 0.8029 GB, free: 7.414 MB / 0.6387 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.006070092320442] Failed to read output from testmodel.py, exit status != 0: 0.6351660080254078 0.648679601 0.10577027700000001 Calling exit ...