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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6932/0.6932, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 403.4 MB, free: 7.07 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 114.7 kB / 484.3 MB, free: 8.699 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 55.92 kB / 0.5618 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1519, allocations: 80.2 MB / 0.6402 GB, free: 6.766 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005646/0.1576, allocations: 4.212 MB / 0.6443 GB, free: 2.527 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4553/0.6129, allocations: 148.1 MB / 0.7889 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007222/0.6137, allocations: 15.94 kB / 0.789 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0006004/0.6143, allocations: 137.9 kB / 0.7891 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.6158, allocations: 402.1 kB / 0.7895 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.6176, allocations: 0.6905 MB / 0.7902 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001173/0.6187, allocations: 1.145 MB / 0.7913 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007528/0.6195, allocations: 0.5421 MB / 0.7918 GB, free: 7.785 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000502/0.62, allocations: 362.5 kB / 0.7921 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004567/0.6205, allocations: 414 kB / 0.7925 GB, free: 7.023 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.6206, allocations: 44 kB / 0.7926 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.6219, allocations: 0.777 MB / 0.7933 GB, free: 6.207 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002541/0.6222, allocations: 207.1 kB / 0.7935 GB, free: 6.004 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003761/0.6226, allocations: 433.4 kB / 0.794 GB, free: 5.578 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001683/0.6243, allocations: 1.554 MB / 0.7955 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.6243, allocations: 0 / 0.7955 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6243, allocations: 0 / 0.7955 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.6243, allocations: 0 / 0.7955 GB, free: 4.02 MB / 0.5261 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.002322/0.6266, allocations: 1.354 MB / 0.7968 GB, free: 2.617 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.6267, allocations: 12.03 kB / 0.7968 GB, free: 2.605 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.6278, allocations: 191.5 kB / 0.797 GB, free: 2.418 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009643/0.6287, allocations: 0.7037 MB / 0.7977 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.251e-05/0.6288, allocations: 50 kB / 0.7977 GB, free: 1.621 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.119e-05/0.6289, allocations: 72 kB / 0.7978 GB, free: 1.551 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.6303, allocations: 0.8294 MB / 0.7986 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.6303, allocations: 3.938 kB / 0.7986 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.831e-05/0.6304, allocations: 31.98 kB / 0.7986 GB, free: 0.6406 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.6304, allocations: 20 kB / 0.7987 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/0.6323, allocations: 1.077 MB / 0.7997 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003536/0.6358, allocations: 2.37 MB / 0.802 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.6372, allocations: 0.7422 MB / 0.8027 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006327/0.6379, allocations: 306.7 kB / 0.803 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.99e-05/0.638, allocations: 32.67 kB / 0.8031 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/0.639, allocations: 455.2 kB / 0.8035 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=73): time 2.495e-06/0.639, allocations: 0 / 0.8035 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of matching and sorting (n=73): time 0.003495/0.6425, allocations: 1.171 MB / 0.8046 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.6426, allocations: 188.6 kB / 0.8048 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007353/0.6434, allocations: 0.6056 MB / 0.8054 GB, free: 9.523 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.859e-05/0.6435, allocations: 37.7 kB / 0.8055 GB, free: 9.48 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.6437, allocations: 352.4 kB / 0.8058 GB, free: 9.129 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/0.6439, allocations: 244.5 kB / 0.806 GB, free: 8.887 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002318/0.6442, allocations: 158.5 kB / 0.8062 GB, free: 8.727 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.6443, allocations: 382.8 kB / 0.8065 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006225/0.6449, allocations: 261.8 kB / 0.8068 GB, free: 8.09 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007539/0.6457, allocations: 371.9 kB / 0.8071 GB, free: 7.707 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.6471, allocations: 0.608 MB / 0.8077 GB, free: 7.086 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.6471, allocations: 1.5 kB / 0.8077 GB, free: 7.086 MB / 0.5417 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002172/0.6493, allocations: 0.8486 MB / 0.8086 GB, free: 6.223 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.6493, allocations: 9.219 kB / 0.8086 GB, free: 6.215 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.6493, allocations: 0 / 0.8086 GB, free: 6.215 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005802/0.6499, allocations: 76.78 kB / 0.8086 GB, free: 6.137 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006818/0.6506, allocations: 167.8 kB / 0.8088 GB, free: 5.973 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/0.6526, allocations: 1.532 MB / 0.8103 GB, free: 4.305 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007651/0.6534, allocations: 83.45 kB / 0.8104 GB, free: 4.223 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.602e-05/0.6535, allocations: 43.91 kB / 0.8104 GB, free: 4.18 MB / 0.5417 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.0004533/0.654, allocations: 245.7 kB / 0.8107 GB, free: 3.93 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.6541, allocations: 80.45 kB / 0.8107 GB, free: 3.852 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002709/0.6569, allocations: 1.11 MB / 0.8118 GB, free: 2.727 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.6569, allocations: 8 kB / 0.8118 GB, free: 2.719 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.6569, allocations: 0 / 0.8118 GB, free: 2.719 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.6569, allocations: 7.922 kB / 0.8118 GB, free: 2.711 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009777/0.6579, allocations: 0.841 MB / 0.8127 GB, free: 1.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.6579, allocations: 0 / 0.8127 GB, free: 1.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006859/0.6586, allocations: 155.8 kB / 0.8128 GB, free: 1.668 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005161/0.6591, allocations: 84.77 kB / 0.8129 GB, free: 1.582 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-05/0.6592, allocations: 27.92 kB / 0.8129 GB, free: 1.555 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/0.6609, allocations: 1.552 MB / 0.8144 GB, free: 15.87 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.661, allocations: 0 / 0.8144 GB, free: 15.87 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003025/0.664, allocations: 1.953 MB / 0.8163 GB, free: 13.85 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003698/0.6644, allocations: 263.8 kB / 0.8166 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.6645, allocations: 19.94 kB / 0.8166 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005474/0.665, allocations: 61.59 kB / 0.8167 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.6652, allocations: 60.91 kB / 0.8167 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-05/0.6653, allocations: 35.97 kB / 0.8168 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004981/0.6658, allocations: 435 kB / 0.8172 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6658, allocations: 0 / 0.8172 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000886/0.6667, allocations: 303.3 kB / 0.8175 GB, free: 12.68 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: 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.001307/0.668, allocations: 0.6188 MB / 0.8181 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001746/0.6697, allocations: 0.8202 MB / 0.8189 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6698, allocations: 0 / 0.8189 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009655/0.6707, allocations: 0.5119 MB / 0.8194 GB, free: 10.88 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.6718, allocations: 263 kB / 0.8196 GB, free: 10.63 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003993/0.6758, allocations: 2.471 MB / 0.822 GB, free: 8.121 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005178/0.6764, allocations: 1.012 MB / 0.823 GB, free: 7.082 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008379/0.6772, allocations: 262.3 kB / 0.8233 GB, free: 6.82 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.6775, allocations: 111.4 kB / 0.8234 GB, free: 6.711 MB / 0.5573 GB Notification: Performance of SimCode: time 5.51e-07/0.6775, allocations: 0 / 0.8234 GB, free: 6.711 MB / 0.5573 GB Notification: Performance of Templates: time 0.02313/0.7006, allocations: 14.27 MB / 0.8373 GB, free: 8.574 MB / 0.573 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)