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.001015/0.001015, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8116/0.8116, allocations: 133.4 MB / 146.7 MB, free: 10.8 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.684/1.684, allocations: 221.3 MB / 400.4 MB, free: 5.863 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.0009676/0.0009675, allocations: 79.83 kB / 483.3 MB, free: 5.895 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.396e-05/3.398e-05, allocations: 3.281 kB / 0.56 GB, free: 87.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1798, allocations: 82.31 MB / 0.6404 GB, free: 7.867 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.707/4.887, allocations: 1.693 GB / 2.334 GB, free: 241.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/4.887, allocations: 79.95 kB / 2.334 GB, free: 241.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1948/5.082, allocations: 91.58 MB / 2.423 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.453e-06/5.082, allocations: 0 / 2.423 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001585/5.082, allocations: 39.94 kB / 2.423 GB, free: 149.6 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.003049/5.085, allocations: 1.665 MB / 2.425 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/5.085, allocations: 8.031 kB / 2.425 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/5.087, allocations: 377.4 kB / 2.425 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/5.089, allocations: 1.011 MB / 2.426 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.724e-05/5.089, allocations: 98.69 kB / 2.426 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/5.089, allocations: 132 kB / 2.427 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/5.091, allocations: 1.461 MB / 2.428 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/5.091, allocations: 0 / 2.428 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/5.091, allocations: 55.98 kB / 2.428 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/5.091, allocations: 43.94 kB / 2.428 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002292/5.094, allocations: 1.954 MB / 2.43 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006438/5.1, allocations: 4.514 MB / 2.434 GB, free: 138 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/5.102, allocations: 1.352 MB / 2.436 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006435/5.103, allocations: 0.4893 MB / 2.436 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001579/5.103, allocations: 65.17 kB / 2.436 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001082/5.104, allocations: 0.7454 MB / 2.437 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=136): time 6.382e-06/5.104, allocations: 0 / 2.437 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=136): time 0.003041/5.107, allocations: 1.307 MB / 2.438 GB, free: 134 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/5.107, allocations: 458.1 kB / 2.439 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001808/5.109, allocations: 1.06 MB / 2.44 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001461/5.109, allocations: 53.7 kB / 2.44 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004547/5.109, allocations: 0.6148 MB / 2.44 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002923/5.11, allocations: 445.5 kB / 2.441 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.718e-05/5.11, allocations: 31.94 kB / 2.441 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.77e-05/5.11, allocations: 353.9 kB / 2.441 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005772/5.111, allocations: 386.5 kB / 2.442 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000768/5.111, allocations: 0.6075 MB / 2.442 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007149/5.112, allocations: 490.1 kB / 2.443 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/5.112, allocations: 0 / 2.443 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002722/5.115, allocations: 1.337 MB / 2.444 GB, free: 128 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/5.115, allocations: 11.94 kB / 2.444 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/5.115, allocations: 0 / 2.444 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/5.116, allocations: 169.8 kB / 2.444 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/5.117, allocations: 267.6 kB / 2.444 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003193/5.12, allocations: 3.073 MB / 2.447 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/5.121, allocations: 170.8 kB / 2.448 GB, free: 124 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001576/5.122, allocations: 51.97 kB / 2.448 GB, free: 124 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 () * 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.0003453/5.122, allocations: 177 kB / 2.448 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004378/5.122, allocations: 154.2 kB / 2.448 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004169/5.127, allocations: 1.903 MB / 2.45 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/5.127, allocations: 20 kB / 2.45 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/5.127, allocations: 0 / 2.45 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/5.127, allocations: 7.969 kB / 2.45 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/5.129, allocations: 1.525 MB / 2.451 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/5.129, allocations: 0 / 2.451 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/5.13, allocations: 283.6 kB / 2.452 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009532/5.131, allocations: 169.5 kB / 2.452 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/5.131, allocations: 47.91 kB / 2.452 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002787/5.134, allocations: 3.111 MB / 2.455 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/5.134, allocations: 0 / 2.455 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003143/5.137, allocations: 1.555 MB / 2.456 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/5.138, allocations: 482.5 kB / 2.457 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004877/5.139, allocations: 28 kB / 2.457 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/5.14, allocations: 139.9 kB / 2.457 GB, free: 114 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002639/5.14, allocations: 121.3 kB / 2.457 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/5.14, allocations: 55.97 kB / 2.457 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00136/5.142, allocations: 0.8413 MB / 2.458 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/5.142, allocations: 3.938 kB / 2.458 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001958/5.144, allocations: 0.5417 MB / 2.458 GB, free: 112.4 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) * 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.002088/5.146, allocations: 1.107 MB / 2.46 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002229/5.148, allocations: 1.351 MB / 2.461 GB, free: 110 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/5.148, allocations: 3.953 kB / 2.461 GB, free: 110 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001305/5.149, allocations: 0.9003 MB / 2.462 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/5.152, allocations: 485.5 kB / 2.462 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005923/5.158, allocations: 2.529 MB / 2.465 GB, free: 106 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006853/5.158, allocations: 1.328 MB / 2.466 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001824/5.16, allocations: 0.4957 MB / 2.466 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005221/5.161, allocations: 183.3 kB / 2.467 GB, free: 104 MB / 0.6823 GB Notification: Performance of SimCode: time 1.102e-06/5.161, allocations: 0 / 2.467 GB, free: 104 MB / 0.6823 GB Notification: Performance of Templates: time 0.04282/5.204, allocations: 33.94 MB / 2.5 GB, free: 70.21 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)