Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001625/0.001625, 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-master/package.mo): time 0.8355/0.8355, allocations: 133.3 MB / 150.1 MB, free: 11.13 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.41/1.41, allocations: 222.9 MB / 404.7 MB, free: 6.137 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.001053/0.001052, allocations: 99.56 kB / 485.9 MB, free: 7.277 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001004/0.001004, allocations: 51.92 kB / 0.5636 GB, free: 69.98 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1399, allocations: 80.44 MB / 0.6421 GB, free: 5.48 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.007138/0.147, allocations: 6.193 MB / 0.6482 GB, free: 15.26 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.556/0.703, allocations: 150.9 MB / 0.7955 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.7043, allocations: 27.88 kB / 0.7955 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0006987/0.705, allocations: 248.4 kB / 0.7958 GB, free: 3.816 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001675/0.7067, allocations: 0.5532 MB / 0.7963 GB, free: 3.277 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002577/0.7093, allocations: 1.152 MB / 0.7974 GB, free: 2.141 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.00214/0.7114, allocations: 2.173 MB / 0.7996 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/0.7127, allocations: 1.042 MB / 0.8006 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008807/0.7136, allocations: 0.6652 MB / 0.8012 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007932/0.7144, allocations: 0.7348 MB / 0.802 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001847/0.7146, allocations: 84 kB / 0.802 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.7161, allocations: 0.8192 MB / 0.8028 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003658/0.7165, allocations: 398.3 kB / 0.8032 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0007146/0.7172, allocations: 0.796 MB / 0.804 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.002414/0.7196, allocations: 2.551 MB / 0.8065 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.7196, allocations: 0 / 0.8065 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of FrontEnd: time 9.22e-07/0.7196, allocations: 0 / 0.8065 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.656e-05/0.7196, allocations: 0 / 0.8065 GB, free: 8.828 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.003489/0.7231, allocations: 2.154 MB / 0.8086 GB, free: 6.613 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.7232, allocations: 19.95 kB / 0.8086 GB, free: 6.594 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001804/0.725, allocations: 358.7 kB / 0.8089 GB, free: 6.242 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/0.7268, allocations: 1.196 MB / 0.8101 GB, free: 4.988 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.663e-05/0.7269, allocations: 98.69 kB / 0.8102 GB, free: 4.891 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.727, allocations: 132 kB / 0.8103 GB, free: 4.762 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002498/0.7295, allocations: 1.516 MB / 0.8118 GB, free: 3.148 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.7296, allocations: 4 kB / 0.8118 GB, free: 3.145 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/0.7297, allocations: 59.98 kB / 0.8119 GB, free: 3.086 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.988e-05/0.7297, allocations: 32 kB / 0.8119 GB, free: 3.055 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003302/0.7331, allocations: 2.051 MB / 0.8139 GB, free: 1 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006793/0.7399, allocations: 4.434 MB / 0.8182 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002762/0.7426, allocations: 1.438 MB / 0.8196 GB, free: 11.03 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/0.7437, allocations: 0.5359 MB / 0.8202 GB, free: 10.49 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001229/0.7438, allocations: 57.11 kB / 0.8202 GB, free: 10.43 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001529/0.7454, allocations: 0.7921 MB / 0.821 GB, free: 9.617 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=136): time 3.106e-06/0.7454, allocations: 0 / 0.821 GB, free: 9.617 MB / 0.5573 GB Notification: Performance of matching and sorting (n=136): time 0.005849/0.7512, allocations: 2.1 MB / 0.823 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001735/0.7514, allocations: 355.3 kB / 0.8234 GB, free: 7.039 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/0.7529, allocations: 1.071 MB / 0.8244 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.797e-05/0.753, allocations: 61.62 kB / 0.8245 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004956/0.7535, allocations: 0.6144 MB / 0.8251 GB, free: 5.27 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003363/0.7538, allocations: 449.5 kB / 0.8255 GB, free: 4.824 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004339/0.7543, allocations: 286.6 kB / 0.8258 GB, free: 4.539 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.7544, allocations: 361.8 kB / 0.8261 GB, free: 4.18 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.7554, allocations: 478.3 kB / 0.8266 GB, free: 3.711 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/0.7566, allocations: 0.6575 MB / 0.8272 GB, free: 3.016 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002179/0.7588, allocations: 1.116 MB / 0.8283 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.7588, allocations: 0 / 0.8283 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003764/0.7626, allocations: 1.52 MB / 0.8298 GB, free: 340 kB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.7626, allocations: 9.656 kB / 0.8298 GB, free: 332 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.7627, allocations: 7.984 kB / 0.8298 GB, free: 324 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/0.7638, allocations: 165.8 kB / 0.83 GB, free: 152 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.765, allocations: 291.6 kB / 0.8303 GB, free: 15.86 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003906/0.7689, allocations: 3.058 MB / 0.8332 GB, free: 12.53 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.7702, allocations: 166.8 kB / 0.8334 GB, free: 12.37 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/0.7704, allocations: 63.95 kB / 0.8335 GB, free: 12.3 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.000739/0.7711, allocations: 383.8 kB / 0.8338 GB, free: 11.92 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002994/0.7714, allocations: 146.2 kB / 0.834 GB, free: 11.78 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004817/0.7763, allocations: 1.98 MB / 0.8359 GB, free: 9.777 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.7763, allocations: 16 kB / 0.8359 GB, free: 9.762 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.7763, allocations: 0 / 0.8359 GB, free: 9.762 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/0.7763, allocations: 7.969 kB / 0.8359 GB, free: 9.754 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.7782, allocations: 1.467 MB / 0.8374 GB, free: 8.242 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.7782, allocations: 0 / 0.8374 GB, free: 8.242 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/0.7793, allocations: 279.6 kB / 0.8376 GB, free: 7.969 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001052/0.7804, allocations: 169.5 kB / 0.8378 GB, free: 7.797 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.301e-05/0.7805, allocations: 43.97 kB / 0.8378 GB, free: 7.754 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003689/0.7842, allocations: 3.115 MB / 0.8409 GB, free: 4.359 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.7842, allocations: 0 / 0.8409 GB, free: 4.359 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00556/0.7898, allocations: 3.09 MB / 0.8439 GB, free: 1.207 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007336/0.7905, allocations: 430.6 kB / 0.8443 GB, free: 0.7656 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002278/0.7908, allocations: 36 kB / 0.8443 GB, free: 0.7305 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.7918, allocations: 109.4 kB / 0.8444 GB, free: 0.625 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/0.7921, allocations: 113.8 kB / 0.8446 GB, free: 0.5117 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/0.7922, allocations: 64.05 kB / 0.8446 GB, free: 460 kB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001174/0.7934, allocations: 0.7416 MB / 0.8453 GB, free: 15.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7934, allocations: 8 kB / 0.8453 GB, free: 15.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001391/0.7948, allocations: 482.9 kB / 0.8458 GB, free: 15.22 MB / 0.5886 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.001466/0.7963, allocations: 0.6328 MB / 0.8464 GB, free: 14.77 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003216/0.7995, allocations: 1.503 MB / 0.8479 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.7996, allocations: 4 kB / 0.8479 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001844/0.8014, allocations: 0.9575 MB / 0.8488 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/0.8037, allocations: 0.507 MB / 0.8493 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008624/0.8124, allocations: 4.523 MB / 0.8537 GB, free: 7.184 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001421/0.8138, allocations: 1.337 MB / 0.855 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001954/0.8158, allocations: 499.7 kB / 0.8555 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005423/0.8164, allocations: 179.3 kB / 0.8557 GB, free: 5.148 MB / 0.5886 GB Notification: Performance of SimCode: time 1.172e-06/0.8164, allocations: 0 / 0.8557 GB, free: 5.148 MB / 0.5886 GB Notification: Performance of Templates: time 0.04215/0.8585, allocations: 25.27 MB / 0.8804 GB, free: 12.09 MB / 0.6198 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)