Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002658/0.002664, allocations: 354.5 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.442/1.442, allocations: 165.8 MB / 183.1 MB, free: 5.445 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.725/3.725, allocations: 410.8 MB / 0.6001 GB, free: 15.12 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001763/0.001763, allocations: 192.9 kB / 0.6668 GB, free: 6.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000461/0.0004613, allocations: 8 kB / 0.7429 GB, free: 8.949 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.409, allocations: 67.44 MB / 0.8087 GB, free: 28.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.136/6.545, allocations: 2.033 GB / 2.842 GB, free: 62.05 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/6.545, allocations: 90.7 kB / 2.842 GB, free: 62 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.773/7.318, allocations: 92.4 MB / 2.932 GB, free: 176.9 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.906e-06/7.319, allocations: 0 / 2.932 GB, free: 176.9 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001686/7.319, allocations: 46 kB / 2.932 GB, free: 176.9 MB / 0.573 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.005259/7.324, allocations: 1.851 MB / 2.934 GB, free: 175.8 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/7.324, allocations: 6.25 kB / 2.934 GB, free: 175.8 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003461/7.328, allocations: 370.8 kB / 2.934 GB, free: 175.7 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003123/7.331, allocations: 1.016 MB / 2.935 GB, free: 175.4 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/7.331, allocations: 97.27 kB / 2.935 GB, free: 175.4 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003211/7.331, allocations: 130.9 kB / 2.935 GB, free: 175.4 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004705/7.336, allocations: 1.507 MB / 2.937 GB, free: 175.1 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.789e-05/7.336, allocations: 3.875 kB / 2.937 GB, free: 175.1 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002498/7.336, allocations: 57.34 kB / 2.937 GB, free: 175.1 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.205e-05/7.336, allocations: 34.62 kB / 2.937 GB, free: 175.1 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005816/7.342, allocations: 2.046 MB / 2.939 GB, free: 175.1 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01124/7.353, allocations: 4.458 MB / 2.943 GB, free: 173.7 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0046/7.358, allocations: 1.45 MB / 2.945 GB, free: 173.7 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001795/7.36, allocations: 0.5461 MB / 2.945 GB, free: 173.6 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000206/7.36, allocations: 57.5 kB / 2.945 GB, free: 173.6 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002239/7.362, allocations: 0.8029 MB / 2.946 GB, free: 173.5 MB / 0.573 GB Notification: Performance of pre-optimization done (n=136): time 3.817e-06/7.362, allocations: 0 / 2.946 GB, free: 173.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=136): time 0.01014/7.373, allocations: 2.157 MB / 2.948 GB, free: 173.2 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001547/7.373, allocations: 464.3 kB / 2.949 GB, free: 172.6 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002388/7.375, allocations: 1.18 MB / 2.95 GB, free: 172.5 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003795/7.376, allocations: 51.61 kB / 2.95 GB, free: 172.4 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005854/7.376, allocations: 0.5996 MB / 2.95 GB, free: 172.2 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005126/7.377, allocations: 455.7 kB / 2.951 GB, free: 171.9 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/7.377, allocations: 23.78 kB / 2.951 GB, free: 171.9 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001068/7.377, allocations: 348.5 kB / 2.951 GB, free: 171.6 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00167/7.379, allocations: 444.8 kB / 2.952 GB, free: 171.6 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/7.381, allocations: 0.6622 MB / 2.952 GB, free: 171.3 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/7.382, allocations: 0.5226 MB / 2.953 GB, free: 171.1 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/7.382, allocations: 0 / 2.953 GB, free: 171.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.006243/7.389, allocations: 1.432 MB / 2.954 GB, free: 170.5 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/7.389, allocations: 6.906 kB / 2.954 GB, free: 170.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/7.389, allocations: 3.562 kB / 2.954 GB, free: 170.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001973/7.391, allocations: 168 kB / 2.954 GB, free: 170.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002361/7.393, allocations: 266.4 kB / 2.955 GB, free: 170.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005372/7.398, allocations: 3.065 MB / 2.958 GB, free: 167.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002325/7.401, allocations: 163 kB / 2.958 GB, free: 167.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002967/7.401, allocations: 54.42 kB / 2.958 GB, free: 167.5 MB / 0.573 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.001217/7.402, allocations: 380.3 kB / 2.958 GB, free: 167.3 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005479/7.403, allocations: 146.3 kB / 2.958 GB, free: 167.2 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008257/7.411, allocations: 2.022 MB / 2.96 GB, free: 166.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.333e-05/7.411, allocations: 18.33 kB / 2.96 GB, free: 166.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/7.411, allocations: 0 / 2.96 GB, free: 166.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-05/7.411, allocations: 13.45 kB / 2.96 GB, free: 166.4 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00326/7.415, allocations: 1.519 MB / 2.962 GB, free: 165.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.741e-05/7.415, allocations: 0 / 2.962 GB, free: 165.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002313/7.417, allocations: 292.3 kB / 2.962 GB, free: 165.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001785/7.419, allocations: 161.2 kB / 2.962 GB, free: 165.7 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002813/7.419, allocations: 44.61 kB / 2.962 GB, free: 165.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004849/7.424, allocations: 3.115 MB / 2.965 GB, free: 162.8 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/7.424, allocations: 0 / 2.965 GB, free: 162.8 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006481/7.431, allocations: 1.633 MB / 2.967 GB, free: 162.1 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/7.432, allocations: 483.1 kB / 2.967 GB, free: 161.8 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004496/7.432, allocations: 35.59 kB / 2.967 GB, free: 161.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002205/7.435, allocations: 132 kB / 2.968 GB, free: 161.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004423/7.435, allocations: 115.5 kB / 2.968 GB, free: 161.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002098/7.435, allocations: 59.91 kB / 2.968 GB, free: 161.8 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001847/7.437, allocations: 0.8374 MB / 2.968 GB, free: 161.4 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.31e-07/7.437, allocations: 0 / 2.968 GB, free: 161.4 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002561/7.44, allocations: 0.5237 MB / 2.969 GB, free: 161.2 MB / 0.573 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.002827/7.443, allocations: 1.119 MB / 2.97 GB, free: 160.9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.005058/7.448, allocations: 1.448 MB / 2.972 GB, free: 159.9 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/7.448, allocations: 3.938 kB / 2.972 GB, free: 159.9 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002862/7.451, allocations: 0.9672 MB / 2.972 GB, free: 159 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003929/7.455, allocations: 0.4982 MB / 2.973 GB, free: 158.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/7.466, allocations: 3.757 MB / 2.977 GB, free: 155.2 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009238/7.467, allocations: 1.307 MB / 2.978 GB, free: 154.1 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002889/7.47, allocations: 0.4995 MB / 2.978 GB, free: 153.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007732/7.471, allocations: 177.3 kB / 2.979 GB, free: 153.6 MB / 0.573 GB Notification: Performance of SimCode: time 9.82e-07/7.471, allocations: 0 / 2.979 GB, free: 153.6 MB / 0.573 GB Notification: Performance of Templates: time 0.07453/7.546, allocations: 31.81 MB / 3.01 GB, free: 124.4 MB / 0.573 GB