Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.001852/0.001852, allocations: 84.67 kB / 19.76 MB, free: 2.023 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.002318/0.002318, allocations: 159.1 kB / 23.01 MB, free: 4.961 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.514/1.514, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.81/0.81, allocations: 101.3 MB / 361.1 MB, free: 9.543 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 65.77 kB / 0.5356 GB, free: 5.223 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 3.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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1882, allocations: 85.87 MB / 0.6195 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.008542/0.1967, allocations: 5.56 MB / 0.6249 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5517/0.7485, allocations: 135.2 MB / 0.7569 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/0.7499, allocations: 45.19 kB / 0.7569 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009512/0.7509, allocations: 322.5 kB / 0.7572 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002458/0.7533, allocations: 0.6971 MB / 0.7579 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00359/0.7569, allocations: 1.337 MB / 0.7592 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003732/0.7606, allocations: 2.361 MB / 0.7615 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001289/0.7619, allocations: 0.6915 MB / 0.7622 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001562/0.7635, allocations: 0.8289 MB / 0.763 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.7646, allocations: 0.7354 MB / 0.7637 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002599/0.7649, allocations: 191.3 kB / 0.7639 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001844/0.7667, allocations: 0.8961 MB / 0.7648 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000538/0.7673, allocations: 0.4941 MB / 0.7653 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008206/0.7681, allocations: 0.7298 MB / 0.766 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003858/0.772, allocations: 2.805 MB / 0.7687 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.772, allocations: 4 kB / 0.7687 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.772, allocations: 3.375 kB / 0.7687 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.141e-05/0.772, allocations: 0 / 0.7687 GB, free: 2.211 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: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.004217/0.7762, allocations: 2.188 MB / 0.7709 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.7763, allocations: 8.156 kB / 0.7709 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003137/0.7794, allocations: 448.5 kB / 0.7713 GB, free: 368 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002365/0.7818, allocations: 1.199 MB / 0.7725 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.973e-05/0.7819, allocations: 100.3 kB / 0.7726 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/0.782, allocations: 129 kB / 0.7727 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003084/0.7851, allocations: 2.028 MB / 0.7747 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.303e-05/0.7852, allocations: 0 / 0.7747 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001543/0.7853, allocations: 59.38 kB / 0.7747 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.724e-05/0.7853, allocations: 32.78 kB / 0.7747 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003178/0.7885, allocations: 1.958 MB / 0.7767 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00708/0.7956, allocations: 3.785 MB / 0.7804 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002694/0.7983, allocations: 1.35 MB / 0.7817 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009789/0.7993, allocations: 498 kB / 0.7821 GB, free: 8.902 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.7994, allocations: 46.64 kB / 0.7822 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001627/0.801, allocations: 0.9976 MB / 0.7832 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=136): time 3.417e-06/0.801, allocations: 0 / 0.7832 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of matching and sorting (n=136): time 0.005985/0.807, allocations: 1.97 MB / 0.7851 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002982/0.8073, allocations: 359.2 kB / 0.7854 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/0.8091, allocations: 1.03 MB / 0.7864 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001309/0.8092, allocations: 51.11 kB / 0.7865 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000616/0.8098, allocations: 0.6371 MB / 0.7871 GB, free: 5.551 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004413/0.8103, allocations: 474.4 kB / 0.7876 GB, free: 5.141 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004043/0.8107, allocations: 290.4 kB / 0.7878 GB, free: 4.973 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.8109, allocations: 359.2 kB / 0.7882 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009895/0.8118, allocations: 479.3 kB / 0.7886 GB, free: 4.391 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/0.8132, allocations: 0.91 MB / 0.7895 GB, free: 3.676 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002194/0.8154, allocations: 1.115 MB / 0.7906 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.8154, allocations: 2.562 kB / 0.7906 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003929/0.8194, allocations: 1.52 MB / 0.7921 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.8194, allocations: 5.156 kB / 0.7921 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.8194, allocations: 6.312 kB / 0.7921 GB, free: 2.281 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/0.8205, allocations: 166.4 kB / 0.7923 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.8217, allocations: 291.2 kB / 0.7925 GB, free: 2.125 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004359/0.826, allocations: 3.022 MB / 0.7955 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.8275, allocations: 146.2 kB / 0.7956 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/0.8277, allocations: 70.38 kB / 0.7957 GB, free: 15.12 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 16 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008169/0.8285, allocations: 384.5 kB / 0.7961 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003216/0.8288, allocations: 148.7 kB / 0.7962 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00474/0.8335, allocations: 1.977 MB / 0.7981 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.8336, allocations: 16.09 kB / 0.7982 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.8336, allocations: 6 kB / 0.7982 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/0.8336, allocations: 7.969 kB / 0.7982 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/0.8352, allocations: 1.069 MB / 0.7992 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.8352, allocations: 0 / 0.7992 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/0.8364, allocations: 275.6 kB / 0.7995 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000855/0.8372, allocations: 153.5 kB / 0.7996 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.8373, allocations: 47.97 kB / 0.7997 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004074/0.8414, allocations: 3.076 MB / 0.8027 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.8414, allocations: 0 / 0.8027 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004043/0.8455, allocations: 1.623 MB / 0.8043 GB, free: 7.219 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008319/0.8463, allocations: 363 kB / 0.8046 GB, free: 6.863 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/0.8465, allocations: 31.94 kB / 0.8046 GB, free: 6.832 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.8475, allocations: 112.6 kB / 0.8047 GB, free: 6.723 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002356/0.8477, allocations: 125.7 kB / 0.8049 GB, free: 6.602 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/0.8479, allocations: 55.97 kB / 0.8049 GB, free: 6.547 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00114/0.849, allocations: 0.7086 MB / 0.8056 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.849, allocations: 0 / 0.8056 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001417/0.8504, allocations: 0.491 MB / 0.8061 GB, free: 5.34 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002217/0.8526, allocations: 0.6803 MB / 0.8068 GB, free: 4.871 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003502/0.8561, allocations: 1.456 MB / 0.8082 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.8562, allocations: 0 / 0.8082 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001878/0.858, allocations: 0.9106 MB / 0.8091 GB, free: 2.453 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002235/0.8603, allocations: 0.5374 MB / 0.8096 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007537/0.8678, allocations: 3.132 MB / 0.8127 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008474/0.8686, allocations: 0.708 MB / 0.8133 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001619/0.8703, allocations: 0.4915 MB / 0.8138 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004602/0.8707, allocations: 192.4 kB / 0.814 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of SimCode: time 7.91e-07/0.8707, allocations: 0 / 0.814 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of Templates: time 0.04742/0.9181, allocations: 26.51 MB / 0.8399 GB, free: 3.164 MB / 0.67 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile [Timeout 660] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.438176551018842] Failed to read output from testmodel.py, exit status != 0: 0.9273324350360781 0.941697158 0.16650870399999995 Calling exit ...