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.009219/0.009219, allocations: 170.7 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8544/0.8544, allocations: 135.2 MB / 151.1 MB, free: 13.81 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.519/1.519, allocations: 223.2 MB / 406.9 MB, free: 3.211 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009306/0.0009305, allocations: 92.52 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003692, allocations: 12 kB / 0.5691 GB, free: 14.17 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5499/0.5503, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.742/5.292, allocations: 1.694 GB / 2.343 GB, free: 23.11 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004373/5.293, allocations: 91.95 kB / 2.343 GB, free: 23.02 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.648/5.941, allocations: 91.94 MB / 2.433 GB, free: 208.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.747e-06/5.941, allocations: 0 / 2.433 GB, free: 208.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001293/5.941, allocations: 43.94 kB / 2.433 GB, free: 208.7 MB / 0.6823 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.003622/5.944, allocations: 1.886 MB / 2.435 GB, free: 206.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/5.944, allocations: 12.03 kB / 2.435 GB, free: 206.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/5.946, allocations: 373.4 kB / 2.435 GB, free: 206.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00167/5.948, allocations: 1.019 MB / 2.436 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.946e-05/5.948, allocations: 102.7 kB / 2.436 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/5.948, allocations: 128 kB / 2.436 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002504/5.951, allocations: 1.517 MB / 2.438 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/5.951, allocations: 0 / 2.438 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/5.951, allocations: 56 kB / 2.438 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.164e-05/5.951, allocations: 39.94 kB / 2.438 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003026/5.954, allocations: 2.067 MB / 2.44 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008031/5.962, allocations: 4.522 MB / 2.444 GB, free: 196.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002495/5.965, allocations: 1.459 MB / 2.446 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/5.965, allocations: 61.19 kB / 2.446 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001363/5.966, allocations: 0.796 MB / 2.447 GB, free: 194.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=136): time 4.889e-06/5.966, allocations: 0 / 2.447 GB, free: 194.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=136): time 0.006242/5.972, allocations: 2.153 MB / 2.449 GB, free: 192.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002019/5.973, allocations: 458.1 kB / 2.449 GB, free: 191.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0021/5.975, allocations: 1.073 MB / 2.45 GB, free: 190.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000265/5.975, allocations: 57.69 kB / 2.45 GB, free: 190.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006752/5.976, allocations: 0.607 MB / 2.451 GB, free: 189.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004782/5.976, allocations: 453.4 kB / 2.451 GB, free: 189.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-05/5.976, allocations: 20 kB / 2.451 GB, free: 189.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001489/5.977, allocations: 349.9 kB / 2.452 GB, free: 189 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009769/5.977, allocations: 442.4 kB / 2.452 GB, free: 188.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/5.979, allocations: 0.658 MB / 2.453 GB, free: 187.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/5.98, allocations: 0.5231 MB / 2.453 GB, free: 187.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/5.98, allocations: 0 / 2.453 GB, free: 187.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003861/5.983, allocations: 1.432 MB / 2.455 GB, free: 185.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/5.984, allocations: 4 kB / 2.455 GB, free: 185.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/5.984, allocations: 4 kB / 2.455 GB, free: 185.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/5.985, allocations: 165.8 kB / 2.455 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/5.986, allocations: 267.6 kB / 2.455 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00379/5.99, allocations: 3.098 MB / 2.458 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/5.992, allocations: 154.9 kB / 2.458 GB, free: 182 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/5.992, allocations: 63.94 kB / 2.458 GB, free: 181.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001117/5.993, allocations: 385.9 kB / 2.459 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006603/5.994, allocations: 150.1 kB / 2.459 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00487/5.998, allocations: 2.023 MB / 2.461 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/5.998, allocations: 16 kB / 2.461 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/5.998, allocations: 4 kB / 2.461 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/5.998, allocations: 7.969 kB / 2.461 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/6.001, allocations: 1.529 MB / 2.462 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/6.001, allocations: 0 / 2.462 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/6.002, allocations: 283.6 kB / 2.463 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009665/6.003, allocations: 173.5 kB / 2.463 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001306/6.003, allocations: 47.91 kB / 2.463 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002992/6.006, allocations: 3.147 MB / 2.466 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/6.006, allocations: 0 / 2.466 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003918/6.01, allocations: 1.657 MB / 2.467 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/6.011, allocations: 486.5 kB / 2.468 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005017/6.012, allocations: 28 kB / 2.468 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/6.013, allocations: 135.9 kB / 2.468 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002674/6.013, allocations: 113.8 kB / 2.468 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/6.013, allocations: 63.95 kB / 2.468 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001535/6.015, allocations: 0.8474 MB / 2.469 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.61e-07/6.015, allocations: 0 / 2.469 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002285/6.017, allocations: 0.5457 MB / 2.47 GB, free: 169.9 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002608/6.02, allocations: 1.144 MB / 2.471 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003042/6.023, allocations: 1.455 MB / 2.472 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/6.023, allocations: 0 / 2.472 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001786/6.025, allocations: 0.9654 MB / 2.473 GB, free: 166.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002865/6.028, allocations: 473.6 kB / 2.473 GB, free: 166 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009463/6.037, allocations: 3.776 MB / 2.477 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001153/6.038, allocations: 1.324 MB / 2.478 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002312/6.041, allocations: 0.5035 MB / 2.479 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006896/6.041, allocations: 175.3 kB / 2.479 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of SimCode: time 2.945e-06/6.041, allocations: 0 / 2.479 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.05015/6.092, allocations: 32.18 MB / 2.511 GB, free: 128.2 MB / 0.6823 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)