Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009211/0.0009209, allocations: 175.7 kB / 16.76 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4503/0.4503, allocations: 86.28 MB / 103.8 MB, free: 14.56 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 223.2 MB / 348.4 MB, free: 5.02 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008043/0.0008044, allocations: 93.11 kB / 420.2 MB, free: 9.676 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003788, allocations: 8 kB / 0.4901 GB, free: 8.027 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3487, allocations: 71.02 MB / 0.5594 GB, free: 43.68 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.385/3.734, allocations: 1.683 GB / 2.242 GB, free: 128.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/3.734, allocations: 96.73 kB / 2.242 GB, free: 128.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1909/3.925, allocations: 91.95 MB / 2.332 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.984e-06/3.925, allocations: 4 kB / 2.332 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001147/3.925, allocations: 44 kB / 2.332 GB, free: 35.59 MB / 0.6042 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.003173/3.928, allocations: 1.864 MB / 2.334 GB, free: 33.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/3.928, allocations: 12.03 kB / 2.334 GB, free: 33.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/3.93, allocations: 378.2 kB / 2.334 GB, free: 33.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/3.931, allocations: 1.066 MB / 2.335 GB, free: 32.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.778e-05/3.932, allocations: 99.06 kB / 2.335 GB, free: 32.06 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/3.932, allocations: 132.4 kB / 2.335 GB, free: 31.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/3.934, allocations: 1.528 MB / 2.337 GB, free: 30.31 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/3.934, allocations: 4.125 kB / 2.337 GB, free: 30.31 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/3.934, allocations: 63.94 kB / 2.337 GB, free: 30.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/3.934, allocations: 36 kB / 2.337 GB, free: 30.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002716/3.937, allocations: 2.059 MB / 2.339 GB, free: 28.15 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005678/3.943, allocations: 4.518 MB / 2.343 GB, free: 23.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002207/3.945, allocations: 1.447 MB / 2.345 GB, free: 22.07 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008417/3.946, allocations: 0.5476 MB / 2.345 GB, free: 21.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/3.946, allocations: 61.11 kB / 2.345 GB, free: 21.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001171/3.947, allocations: 0.7962 MB / 2.346 GB, free: 20.64 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=136): time 4.007e-06/3.947, allocations: 0 / 2.346 GB, free: 20.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=136): time 0.005124/3.952, allocations: 2.162 MB / 2.348 GB, free: 18.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/3.952, allocations: 458.1 kB / 2.349 GB, free: 17.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00145/3.954, allocations: 1.201 MB / 2.35 GB, free: 16.67 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/3.954, allocations: 53.7 kB / 2.35 GB, free: 16.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004227/3.954, allocations: 0.6188 MB / 2.351 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002782/3.955, allocations: 445.4 kB / 2.351 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.657e-05/3.955, allocations: 20 kB / 2.351 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.374e-05/3.955, allocations: 357.9 kB / 2.351 GB, free: 15.17 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008229/3.955, allocations: 442.4 kB / 2.352 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009754/3.956, allocations: 0.6683 MB / 2.353 GB, free: 14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001737/3.958, allocations: 1.07 MB / 2.354 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/3.958, allocations: 0 / 2.354 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002906/3.961, allocations: 1.436 MB / 2.355 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/3.961, allocations: 4 kB / 2.355 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/3.961, allocations: 4 kB / 2.355 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009595/3.962, allocations: 169.8 kB / 2.355 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009627/3.963, allocations: 271.6 kB / 2.355 GB, free: 11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003187/3.966, allocations: 3.072 MB / 2.358 GB, free: 7.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/3.968, allocations: 162.9 kB / 2.359 GB, free: 7.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001917/3.968, allocations: 55.95 kB / 2.359 GB, free: 7.445 MB / 0.6042 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.001081/3.969, allocations: 381.5 kB / 2.359 GB, free: 7.062 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004736/3.97, allocations: 154.1 kB / 2.359 GB, free: 6.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004729/3.974, allocations: 1.992 MB / 2.361 GB, free: 4.898 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/3.974, allocations: 16 kB / 2.361 GB, free: 4.883 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/3.974, allocations: 7.938 kB / 2.361 GB, free: 4.875 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/3.974, allocations: 7.969 kB / 2.361 GB, free: 4.867 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/3.976, allocations: 1.523 MB / 2.363 GB, free: 3.297 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/3.976, allocations: 0 / 2.363 GB, free: 3.297 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009565/3.977, allocations: 275.7 kB / 2.363 GB, free: 3.027 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008625/3.978, allocations: 173.5 kB / 2.363 GB, free: 2.852 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/3.978, allocations: 43.97 kB / 2.363 GB, free: 2.809 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3216/4.3, allocations: 3.102 MB / 2.366 GB, free: 180.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/4.3, allocations: 5.156 kB / 2.366 GB, free: 180.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003976/4.304, allocations: 1.648 MB / 2.368 GB, free: 180.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007869/4.305, allocations: 486.1 kB / 2.368 GB, free: 180.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/4.305, allocations: 34.25 kB / 2.368 GB, free: 180.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009761/4.306, allocations: 133.9 kB / 2.368 GB, free: 180.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002502/4.306, allocations: 118.9 kB / 2.368 GB, free: 180.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/4.306, allocations: 60.28 kB / 2.368 GB, free: 180.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001226/4.307, allocations: 0.8537 MB / 2.369 GB, free: 180.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.71e-07/4.307, allocations: 0 / 2.369 GB, free: 180.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001478/4.309, allocations: 0.5426 MB / 2.37 GB, free: 180.1 MB / 0.6042 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.001845/4.311, allocations: 1.161 MB / 2.371 GB, free: 179.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002393/4.313, allocations: 1.456 MB / 2.372 GB, free: 179.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/4.313, allocations: 0 / 2.372 GB, free: 179.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00163/4.315, allocations: 0.9598 MB / 2.373 GB, free: 179.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/4.317, allocations: 484.2 kB / 2.374 GB, free: 179.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006601/4.324, allocations: 3.791 MB / 2.377 GB, free: 177.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007131/4.324, allocations: 1.288 MB / 2.379 GB, free: 177.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001645/4.326, allocations: 0.5025 MB / 2.379 GB, free: 177.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004487/4.326, allocations: 182.6 kB / 2.379 GB, free: 177.2 MB / 0.6042 GB Notification: Performance of SimCode: time 4.81e-07/4.326, allocations: 0 / 2.379 GB, free: 177.2 MB / 0.6042 GB Notification: Performance of Templates: time 0.04109/4.368, allocations: 32.56 MB / 2.411 GB, free: 175.3 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)