Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.006108/0.006108, allocations: 100.3 kB / 15.73 MB, free: 6.066 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.001366/0.001366, allocations: 196.5 kB / 16.68 MB, free: 5.973 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.914/0.914, allocations: 135.6 MB / 426.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 66.83 kB / 0.5862 GB, free: 21.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2132, allocations: 81.02 MB / 0.6653 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006795/0.22, allocations: 4.185 MB / 0.6694 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.697/0.917, allocations: 150.5 MB / 0.8164 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.9183, allocations: 20.25 kB / 0.8164 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.9195, allocations: 160.5 kB / 0.8165 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003967/0.9235, allocations: 489 kB / 0.817 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003672/0.9272, allocations: 0.794 MB / 0.8178 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002567/0.9298, allocations: 1.228 MB / 0.819 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.9313, allocations: 0.5452 MB / 0.8195 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.9325, allocations: 427.8 kB / 0.8199 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.9337, allocations: 430.7 kB / 0.8203 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002863/0.934, allocations: 96.69 kB / 0.8204 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002626/0.9366, allocations: 0.8564 MB / 0.8213 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004651/0.9371, allocations: 260.1 kB / 0.8215 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008642/0.938, allocations: 483.9 kB / 0.822 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003732/0.9417, allocations: 1.649 MB / 0.8236 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.9417, allocations: 0 / 0.8236 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.639e-06/0.9417, allocations: 2.562 kB / 0.8236 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.51e-05/0.9418, allocations: 3.938 kB / 0.8236 GB, free: 4.363 MB / 0.5919 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.003296/0.9451, allocations: 1.388 MB / 0.8249 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.166e-05/0.9451, allocations: 11.14 kB / 0.8249 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001586/0.9467, allocations: 196.9 kB / 0.8251 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00178/0.9485, allocations: 0.7278 MB / 0.8258 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.407e-05/0.9486, allocations: 53.69 kB / 0.8259 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.9487, allocations: 64.94 kB / 0.826 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00214/0.9509, allocations: 0.8369 MB / 0.8268 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.9509, allocations: 0 / 0.8268 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.9511, allocations: 31.78 kB / 0.8268 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.9511, allocations: 17.44 kB / 0.8268 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002729/0.9538, allocations: 1.081 MB / 0.8279 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004915/0.9588, allocations: 2.336 MB / 0.8302 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.9603, allocations: 0.738 MB / 0.8309 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006652/0.9609, allocations: 309 kB / 0.8312 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-05/0.961, allocations: 32.86 kB / 0.8312 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009619/0.962, allocations: 461.8 kB / 0.8316 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 2.504e-06/0.962, allocations: 6.469 kB / 0.8317 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.00366/0.9657, allocations: 1.17 MB / 0.8328 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001971/0.9659, allocations: 188.8 kB / 0.833 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.9669, allocations: 0.601 MB / 0.8336 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.264e-05/0.967, allocations: 46.77 kB / 0.8336 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003769/0.9674, allocations: 352.6 kB / 0.8339 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003393/0.9678, allocations: 256.5 kB / 0.8342 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000413/0.9682, allocations: 156.2 kB / 0.8343 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002655/0.9685, allocations: 379.8 kB / 0.8347 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006574/0.9691, allocations: 267.2 kB / 0.835 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007685/0.9699, allocations: 363.3 kB / 0.8353 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.9713, allocations: 0.6171 MB / 0.8359 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.9713, allocations: 2.406 kB / 0.8359 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002391/0.9737, allocations: 0.8526 MB / 0.8367 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.9738, allocations: 6.875 kB / 0.8367 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.9738, allocations: 3.984 kB / 0.8368 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006343/0.9744, allocations: 86.12 kB / 0.8368 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006982/0.9751, allocations: 156 kB / 0.837 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002887/0.978, allocations: 1.644 MB / 0.8386 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009465/0.979, allocations: 83.98 kB / 0.8387 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.9791, allocations: 36.5 kB / 0.8387 GB, free: 9.574 MB / 0.6075 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.000621/0.9798, allocations: 253.3 kB / 0.8389 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000298/0.9801, allocations: 80.86 kB / 0.839 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003039/0.9831, allocations: 1.101 MB / 0.8401 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.9831, allocations: 18.23 kB / 0.8401 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.9832, allocations: 0 / 0.8401 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.9832, allocations: 3.984 kB / 0.8401 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.9846, allocations: 0.8357 MB / 0.8409 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.9846, allocations: 96 / 0.8409 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006461/0.9852, allocations: 161.7 kB / 0.8411 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004614/0.9857, allocations: 78.59 kB / 0.8412 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.7e-05/0.9858, allocations: 29.06 kB / 0.8412 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002243/0.9881, allocations: 1.664 MB / 0.8428 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/0.9881, allocations: 10.89 kB / 0.8428 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002463/0.9905, allocations: 0.9002 MB / 0.8437 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005757/0.9911, allocations: 268.9 kB / 0.844 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/0.9914, allocations: 16.88 kB / 0.844 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006945/0.9921, allocations: 64.06 kB / 0.844 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/0.9922, allocations: 63.06 kB / 0.8441 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.216e-05/0.9923, allocations: 36.03 kB / 0.8441 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007911/0.9931, allocations: 436.7 kB / 0.8445 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9932, allocations: 0 / 0.8445 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001145/0.9943, allocations: 302.3 kB / 0.8448 GB, free: 5.176 MB / 0.6075 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.002187/0.9965, allocations: 0.6162 MB / 0.8454 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002261/0.9988, allocations: 0.8257 MB / 0.8462 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/0.9988, allocations: 4 kB / 0.8462 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001204/1, allocations: 0.5158 MB / 0.8468 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/1.002, allocations: 287.5 kB / 0.847 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004748/1.006, allocations: 1.672 MB / 0.8487 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008846/1.007, allocations: 0.9916 MB / 0.8496 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001/1.008, allocations: 262.2 kB / 0.8499 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003384/1.009, allocations: 103.4 kB / 0.85 GB, free: 496 kB / 0.6075 GB Notification: Performance of SimCode: time 1.513e-06/1.009, allocations: 4 kB / 0.85 GB, free: 492 kB / 0.6075 GB Notification: Performance of Templates: time 0.03155/1.04, allocations: 14.65 MB / 0.8643 GB, free: 1.953 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)