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/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.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 182.9 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.8786/0.8786, 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.394/1.394, allocations: 222.9 MB / 403.4 MB, free: 7.047 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.0009646/0.0009646, allocations: 109.9 kB / 484.3 MB, free: 8.672 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009485/0.0009485, allocations: 43.92 kB / 0.5618 GB, free: 71.03 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.124, allocations: 80.2 MB / 0.6402 GB, free: 6.758 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.007498/0.1315, allocations: 6.213 MB / 0.6462 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4374/0.5689, allocations: 150.9 MB / 0.7935 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/0.5701, allocations: 35.81 kB / 0.7936 GB, free: 5.953 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0009718/0.5712, allocations: 240.4 kB / 0.7938 GB, free: 5.719 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002307/0.5735, allocations: 0.5543 MB / 0.7943 GB, free: 5.18 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002978/0.5765, allocations: 1.157 MB / 0.7955 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002492/0.579, allocations: 2.181 MB / 0.7976 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001601/0.5806, allocations: 1.035 MB / 0.7986 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009837/0.5816, allocations: 0.6729 MB / 0.7993 GB, free: 112 kB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009586/0.5826, allocations: 0.7348 MB / 0.8 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0002217/0.5828, allocations: 84 kB / 0.8001 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001628/0.5844, allocations: 0.8114 MB / 0.8009 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.00038/0.5848, allocations: 398.4 kB / 0.8012 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0006792/0.5855, allocations: 0.796 MB / 0.802 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.00225/0.5878, allocations: 2.547 MB / 0.8045 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.5878, allocations: 4 kB / 0.8045 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5878, allocations: 4 kB / 0.8045 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.939e-05/0.5878, allocations: 0 / 0.8045 GB, free: 10.72 MB / 0.5417 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.003303/0.5912, allocations: 2.158 MB / 0.8066 GB, free: 8.508 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.5912, allocations: 8.031 kB / 0.8066 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/0.5929, allocations: 354.7 kB / 0.807 GB, free: 8.152 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/0.5946, allocations: 1.196 MB / 0.8081 GB, free: 6.898 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.486e-05/0.5947, allocations: 98.69 kB / 0.8082 GB, free: 6.801 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.5948, allocations: 135.9 kB / 0.8084 GB, free: 6.668 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002395/0.5972, allocations: 1.524 MB / 0.8098 GB, free: 5.047 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.5973, allocations: 4 kB / 0.8099 GB, free: 5.043 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.5974, allocations: 59.94 kB / 0.8099 GB, free: 4.984 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.5974, allocations: 32 kB / 0.8099 GB, free: 4.953 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003166/0.6006, allocations: 2.043 MB / 0.8119 GB, free: 2.906 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006543/0.6071, allocations: 4.447 MB / 0.8163 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00262/0.6098, allocations: 1.424 MB / 0.8177 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/0.6108, allocations: 0.5359 MB / 0.8182 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.611, allocations: 65.19 kB / 0.8183 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001381/0.6124, allocations: 0.788 MB / 0.819 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=136): time 3.066e-06/0.6124, allocations: 0 / 0.819 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of matching and sorting (n=136): time 0.005588/0.618, allocations: 2.116 MB / 0.8211 GB, free: 9.355 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/0.6181, allocations: 355.3 kB / 0.8214 GB, free: 8.93 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.6195, allocations: 1.075 MB / 0.8225 GB, free: 7.844 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.37e-05/0.6196, allocations: 49.7 kB / 0.8225 GB, free: 7.789 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005292/0.6202, allocations: 0.6105 MB / 0.8231 GB, free: 7.172 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003682/0.6205, allocations: 457.4 kB / 0.8236 GB, free: 6.719 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004162/0.621, allocations: 286.6 kB / 0.8238 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.6211, allocations: 357.9 kB / 0.8242 GB, free: 6.078 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009965/0.6221, allocations: 478.3 kB / 0.8246 GB, free: 5.609 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.6233, allocations: 0.6535 MB / 0.8253 GB, free: 4.914 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002024/0.6253, allocations: 1.116 MB / 0.8264 GB, free: 3.766 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.6254, allocations: 0 / 0.8264 GB, free: 3.766 MB / 0.5573 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003505/0.6289, allocations: 1.52 MB / 0.8278 GB, free: 2.23 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.6289, allocations: 11.94 kB / 0.8279 GB, free: 2.219 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.6289, allocations: 4 kB / 0.8279 GB, free: 2.215 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.63, allocations: 165.8 kB / 0.828 GB, free: 2.047 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.6311, allocations: 287.6 kB / 0.8283 GB, free: 1.766 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003612/0.6347, allocations: 3.068 MB / 0.8313 GB, free: 14.42 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.6359, allocations: 164.5 kB / 0.8314 GB, free: 14.26 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.6361, allocations: 67.95 kB / 0.8315 GB, free: 14.2 MB / 0.573 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.0006368/0.6367, allocations: 387.8 kB / 0.8319 GB, free: 13.8 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002493/0.637, allocations: 146.2 kB / 0.832 GB, free: 13.66 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004407/0.6414, allocations: 1.973 MB / 0.8339 GB, free: 11.67 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.6414, allocations: 16 kB / 0.834 GB, free: 11.66 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.6414, allocations: 5.688 kB / 0.834 GB, free: 11.65 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.6414, allocations: 7.969 kB / 0.834 GB, free: 11.64 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.643, allocations: 1.463 MB / 0.8354 GB, free: 10.13 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.643, allocations: 4 kB / 0.8354 GB, free: 10.13 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.644, allocations: 275.6 kB / 0.8357 GB, free: 9.859 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009538/0.645, allocations: 165.5 kB / 0.8358 GB, free: 9.691 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.949e-05/0.6451, allocations: 51.95 kB / 0.8359 GB, free: 9.641 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003226/0.6483, allocations: 3.111 MB / 0.8389 GB, free: 6.254 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.6483, allocations: 7.922 kB / 0.8389 GB, free: 6.246 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004927/0.6533, allocations: 3.079 MB / 0.8419 GB, free: 3.098 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006131/0.6539, allocations: 430.6 kB / 0.8423 GB, free: 2.656 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/0.6541, allocations: 35.92 kB / 0.8424 GB, free: 2.621 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009554/0.655, allocations: 104.7 kB / 0.8425 GB, free: 2.52 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/0.6552, allocations: 117.8 kB / 0.8426 GB, free: 2.406 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.6554, allocations: 63.95 kB / 0.8426 GB, free: 2.344 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0009002/0.6563, allocations: 0.7417 MB / 0.8434 GB, free: 1.598 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6563, allocations: 0 / 0.8434 GB, free: 1.598 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001437/0.6577, allocations: 486.9 kB / 0.8438 GB, free: 1.121 MB / 0.573 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.001536/0.6593, allocations: 0.6341 MB / 0.8445 GB, free: 0.6602 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003077/0.6624, allocations: 1.503 MB / 0.8459 GB, free: 15.14 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.6624, allocations: 0 / 0.8459 GB, free: 15.14 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001618/0.664, allocations: 0.9613 MB / 0.8469 GB, free: 14.15 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/0.666, allocations: 0.5023 MB / 0.8473 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007477/0.6735, allocations: 4.524 MB / 0.8518 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000801/0.6743, allocations: 1.333 MB / 0.8531 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00165/0.6759, allocations: 0.4957 MB / 0.8536 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000412/0.6764, allocations: 179.3 kB / 0.8537 GB, free: 7.051 MB / 0.5886 GB Notification: Performance of SimCode: time 7.51e-07/0.6764, allocations: 0 / 0.8537 GB, free: 7.051 MB / 0.5886 GB Notification: Performance of Templates: time 0.03603/0.7124, allocations: 25.28 MB / 0.8784 GB, free: 13.99 MB / 0.6198 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (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 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)