Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.224/2.224, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001604/0.001604, allocations: 175.3 kB / 325.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.387/2.387, allocations: 205.4 MB / 0.5766 GB, free: 21.09 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001169/0.001168, allocations: 98.27 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004611/0.0004613, allocations: 12.17 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2141, allocations: 106.3 MB / 0.8989 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.562/7.776, allocations: 2.19 GB / 3.088 GB, free: 247.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003281/7.776, allocations: 90.8 kB / 3.089 GB, free: 247.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.3508/8.127, allocations: 92.14 MB / 3.178 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.755e-06/8.127, allocations: 0 / 3.178 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002302/8.127, allocations: 42.97 kB / 3.179 GB, free: 232.9 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 335 * Number of variables: 335 Notification: Performance of Generate backend data structure: time 0.006426/8.134, allocations: 1.844 MB / 3.18 GB, free: 231.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/8.134, allocations: 15.75 kB / 3.18 GB, free: 231.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003615/8.137, allocations: 375.8 kB / 3.181 GB, free: 231.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003115/8.141, allocations: 1.01 MB / 3.182 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/8.141, allocations: 101.3 kB / 3.182 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000447/8.141, allocations: 126.5 kB / 3.182 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005064/8.146, allocations: 1.505 MB / 3.183 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.491e-05/8.146, allocations: 3.953 kB / 3.183 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002981/8.147, allocations: 59.03 kB / 3.183 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.042e-05/8.147, allocations: 31.19 kB / 3.183 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006238/8.153, allocations: 2.045 MB / 3.185 GB, free: 229.7 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01289/8.166, allocations: 4.463 MB / 3.19 GB, free: 227.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004848/8.171, allocations: 1.444 MB / 3.191 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002706/8.171, allocations: 64.11 kB / 3.191 GB, free: 227 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002686/8.174, allocations: 0.7971 MB / 3.192 GB, free: 226.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=136): time 6.202e-06/8.174, allocations: 0 / 3.192 GB, free: 226.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=136): time 0.01114/8.185, allocations: 2.154 MB / 3.194 GB, free: 226.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002237/8.185, allocations: 457.4 kB / 3.195 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002548/8.188, allocations: 1.048 MB / 3.196 GB, free: 225.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004732/8.189, allocations: 51.17 kB / 3.196 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006603/8.189, allocations: 0.6099 MB / 3.196 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007081/8.19, allocations: 444.5 kB / 3.197 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/8.19, allocations: 25.66 kB / 3.197 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000135/8.19, allocations: 354.5 kB / 3.197 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001986/8.192, allocations: 438 kB / 3.197 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002454/8.195, allocations: 0.6641 MB / 3.198 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002279/8.197, allocations: 0.5186 MB / 3.199 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/8.197, allocations: 3.969 kB / 3.199 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.007498/8.205, allocations: 1.43 MB / 3.2 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/8.205, allocations: 10.09 kB / 3.2 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/8.205, allocations: 3.875 kB / 3.2 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001985/8.207, allocations: 164.6 kB / 3.2 GB, free: 223.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002488/8.209, allocations: 274.1 kB / 3.2 GB, free: 223.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005262/8.215, allocations: 3.087 MB / 3.203 GB, free: 220.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002322/8.217, allocations: 167.7 kB / 3.204 GB, free: 220.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003298/8.217, allocations: 50.22 kB / 3.204 GB, free: 220.5 MB / 0.8855 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.001263/8.219, allocations: 382.7 kB / 3.204 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005759/8.219, allocations: 148 kB / 3.204 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008248/8.228, allocations: 2.015 MB / 3.206 GB, free: 219.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.558e-05/8.228, allocations: 15.25 kB / 3.206 GB, free: 219.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/8.228, allocations: 15.62 kB / 3.206 GB, free: 219.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.21e-05/8.228, allocations: 7.969 kB / 3.206 GB, free: 219.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00319/8.231, allocations: 1.514 MB / 3.208 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/8.231, allocations: 0 / 3.208 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002328/8.233, allocations: 283.7 kB / 3.208 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001715/8.235, allocations: 170.1 kB / 3.208 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002897/8.235, allocations: 42.91 kB / 3.208 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004766/8.24, allocations: 3.139 MB / 3.211 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/8.24, allocations: 0 / 3.211 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006331/8.247, allocations: 1.655 MB / 3.213 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001401/8.248, allocations: 486.6 kB / 3.213 GB, free: 214.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000362/8.248, allocations: 31.31 kB / 3.213 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001982/8.25, allocations: 137 kB / 3.213 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005053/8.251, allocations: 124.7 kB / 3.214 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003201/8.251, allocations: 57.94 kB / 3.214 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001886/8.253, allocations: 0.8348 MB / 3.214 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.02e-07/8.253, allocations: 0 / 3.214 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002701/8.256, allocations: 0.5099 MB / 3.215 GB, free: 213.4 MB / 0.8855 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.002755/8.259, allocations: 1.112 MB / 3.216 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005081/8.264, allocations: 1.455 MB / 3.217 GB, free: 212 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/8.264, allocations: 0 / 3.217 GB, free: 212 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002843/8.267, allocations: 0.9669 MB / 3.218 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003654/8.27, allocations: 474.8 kB / 3.219 GB, free: 211.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/8.282, allocations: 3.754 MB / 3.223 GB, free: 208.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000952/8.283, allocations: 1.317 MB / 3.224 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002944/8.286, allocations: 0.4952 MB / 3.224 GB, free: 207.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007334/8.287, allocations: 176.4 kB / 3.224 GB, free: 207.6 MB / 0.8855 GB Notification: Performance of SimCode: time 8.71e-07/8.287, allocations: 0 / 3.224 GB, free: 207.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.07527/8.362, allocations: 31.77 MB / 3.255 GB, free: 177.2 MB / 0.8855 GB