Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005804/0.005804, allocations: 96.7 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 196.1 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.754/0.754, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 59.91 kB / 0.5813 GB, free: 7.566 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4213/0.4224, allocations: 80.2 MB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005677/0.4282, allocations: 4.186 MB / 0.6637 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1743/0.6025, allocations: 150.5 MB / 0.8107 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/0.604, allocations: 19.88 kB / 0.8107 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005897/0.6046, allocations: 162.5 kB / 0.8109 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.6063, allocations: 489 kB / 0.8113 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002319/0.6087, allocations: 0.7999 MB / 0.8121 GB, free: 9.531 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001244/0.6099, allocations: 1.214 MB / 0.8133 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007648/0.6107, allocations: 0.5551 MB / 0.8138 GB, free: 7.734 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005007/0.6112, allocations: 426.5 kB / 0.8142 GB, free: 7.316 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004775/0.6117, allocations: 434 kB / 0.8147 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.6118, allocations: 100 kB / 0.8148 GB, free: 6.793 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.6133, allocations: 0.8543 MB / 0.8156 GB, free: 5.938 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000245/0.6136, allocations: 255.2 kB / 0.8158 GB, free: 5.688 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004202/0.614, allocations: 485.4 kB / 0.8163 GB, free: 5.211 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001969/0.616, allocations: 1.657 MB / 0.8179 GB, free: 3.551 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.616, allocations: 4 kB / 0.8179 GB, free: 3.547 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.422e-06/0.616, allocations: 0 / 0.8179 GB, free: 3.547 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.393e-05/0.616, allocations: 0 / 0.8179 GB, free: 3.547 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00208/0.6181, allocations: 1.387 MB / 0.8193 GB, free: 2.105 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.6182, allocations: 12.03 kB / 0.8193 GB, free: 2.094 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.6193, allocations: 208.1 kB / 0.8195 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.6203, allocations: 0.7273 MB / 0.8202 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.473e-05/0.6204, allocations: 54 kB / 0.8202 GB, free: 1.07 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.387e-05/0.6205, allocations: 64 kB / 0.8203 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.6219, allocations: 0.8294 MB / 0.8211 GB, free: 136 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.6219, allocations: 0 / 0.8211 GB, free: 136 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-05/0.622, allocations: 32 kB / 0.8211 GB, free: 104 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.622, allocations: 24 kB / 0.8212 GB, free: 80 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.6239, allocations: 1.073 MB / 0.8222 GB, free: 15 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003423/0.6273, allocations: 2.326 MB / 0.8245 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.6287, allocations: 0.7381 MB / 0.8252 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006266/0.6293, allocations: 306.7 kB / 0.8255 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.031e-05/0.6294, allocations: 36.62 kB / 0.8255 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009277/0.6303, allocations: 471.1 kB / 0.826 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=73): time 1.934e-06/0.6304, allocations: 0 / 0.826 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73): time 0.003311/0.6337, allocations: 1.171 MB / 0.8271 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.6338, allocations: 196.6 kB / 0.8273 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007176/0.6345, allocations: 0.5979 MB / 0.8279 GB, free: 9.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.626e-05/0.6346, allocations: 41.7 kB / 0.8279 GB, free: 8.973 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/0.6349, allocations: 353 kB / 0.8283 GB, free: 8.621 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.635, allocations: 249.9 kB / 0.8285 GB, free: 8.375 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/0.6353, allocations: 158.6 kB / 0.8287 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.6355, allocations: 378.8 kB / 0.829 GB, free: 7.836 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006011/0.6361, allocations: 273.8 kB / 0.8293 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007072/0.6368, allocations: 360 kB / 0.8296 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/0.6381, allocations: 0.612 MB / 0.8302 GB, free: 6.574 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.6381, allocations: 0 / 0.8302 GB, free: 6.574 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002059/0.6402, allocations: 0.8492 MB / 0.8311 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.6402, allocations: 12.03 kB / 0.8311 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.6402, allocations: 0 / 0.8311 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005611/0.6408, allocations: 92.69 kB / 0.8312 GB, free: 5.609 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006538/0.6414, allocations: 159.8 kB / 0.8313 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001969/0.6434, allocations: 1.65 MB / 0.8329 GB, free: 3.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006502/0.6441, allocations: 83.61 kB / 0.833 GB, free: 3.578 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.731e-05/0.6442, allocations: 35.97 kB / 0.833 GB, free: 3.543 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0003962/0.6446, allocations: 251.5 kB / 0.8333 GB, free: 3.289 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.6447, allocations: 87.55 kB / 0.8334 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002553/0.6473, allocations: 1.104 MB / 0.8344 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.6473, allocations: 12 kB / 0.8344 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.6473, allocations: 4 kB / 0.8345 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.6473, allocations: 3.984 kB / 0.8345 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009067/0.6483, allocations: 0.8384 MB / 0.8353 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.6483, allocations: 0 / 0.8353 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006219/0.6489, allocations: 163.7 kB / 0.8354 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004174/0.6493, allocations: 76.73 kB / 0.8355 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.877e-05/0.6494, allocations: 19.98 kB / 0.8355 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/0.6512, allocations: 1.662 MB / 0.8371 GB, free: 15.11 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6512, allocations: 64 / 0.8371 GB, free: 15.11 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.6531, allocations: 0.9167 MB / 0.838 GB, free: 14.17 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003146/0.6535, allocations: 268.2 kB / 0.8383 GB, free: 13.89 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.6536, allocations: 20 kB / 0.8383 GB, free: 13.87 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005301/0.6541, allocations: 61.97 kB / 0.8384 GB, free: 13.81 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.6543, allocations: 64.91 kB / 0.8384 GB, free: 13.75 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.992e-05/0.6543, allocations: 36.03 kB / 0.8385 GB, free: 13.71 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004974/0.6548, allocations: 431 kB / 0.8389 GB, free: 13.29 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6548, allocations: 0 / 0.8389 GB, free: 13.29 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008319/0.6557, allocations: 303.2 kB / 0.8392 GB, free: 13 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 2 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001322/0.657, allocations: 0.6165 MB / 0.8398 GB, free: 12.59 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001727/0.6587, allocations: 0.8274 MB / 0.8406 GB, free: 11.75 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6588, allocations: 4 kB / 0.8406 GB, free: 11.75 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009283/0.6597, allocations: 0.5041 MB / 0.8411 GB, free: 11.23 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.6608, allocations: 287.6 kB / 0.8414 GB, free: 10.98 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00345/0.6643, allocations: 1.663 MB / 0.843 GB, free: 9.281 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004955/0.6648, allocations: 0.9955 MB / 0.8439 GB, free: 8.258 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007717/0.6656, allocations: 270 kB / 0.8442 GB, free: 7.992 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002592/0.6658, allocations: 103.4 kB / 0.8443 GB, free: 7.891 MB / 0.67 GB Notification: Performance of SimCode: time 3.3e-07/0.6659, allocations: 0 / 0.8443 GB, free: 7.891 MB / 0.67 GB Notification: Performance of Templates: time 0.02316/0.689, allocations: 14.65 MB / 0.8586 GB, free: 9.414 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)