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.366/2.366, 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.001558/0.001558, allocations: 187 kB / 325.6 MB, free: 2.801 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.476/2.476, allocations: 205.4 MB / 0.5766 GB, free: 20.75 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.001107/0.001107, allocations: 100.2 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006943/0.0006946, allocations: 11.75 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2423, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.009337/0.2517, allocations: 5.222 MB / 0.904 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2237/0.4754, allocations: 129.5 MB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001322/0.4768, allocations: 31.81 kB / 1.03 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006808/0.4775, allocations: 114.9 kB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003151/0.4807, allocations: 0.6476 MB / 1.031 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004354/0.4851, allocations: 0.9562 MB / 1.032 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005464/0.4905, allocations: 1.433 MB / 1.034 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002985/0.4936, allocations: 0.7186 MB / 1.034 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002306/0.496, allocations: 0.5601 MB / 1.035 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001941/0.498, allocations: 0.5207 MB / 1.035 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005309/0.4985, allocations: 43.94 kB / 1.035 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002583/0.5011, allocations: 0.6436 MB / 1.036 GB, free: 4.688 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005907/0.5018, allocations: 306.7 kB / 1.036 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005708/0.5024, allocations: 304.8 kB / 1.037 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003878/0.5063, allocations: 1.894 MB / 1.038 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.5063, allocations: 0 / 1.038 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.976e-06/0.5063, allocations: 7.938 kB / 1.038 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.016e-05/0.5064, allocations: 0 / 1.038 GB, free: 2.176 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: 335 * Number of variables: 335 Notification: Performance of Generate backend data structure: time 0.005459/0.5119, allocations: 1.78 MB / 1.04 GB, free: 348 kB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.5119, allocations: 8.031 kB / 1.04 GB, free: 340 kB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003328/0.5153, allocations: 377.5 kB / 1.04 GB, free: 15.96 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003251/0.5186, allocations: 1.146 MB / 1.042 GB, free: 14.76 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.5188, allocations: 102.6 kB / 1.042 GB, free: 14.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003278/0.5191, allocations: 128 kB / 1.042 GB, free: 14.53 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004546/0.5237, allocations: 1.5 MB / 1.043 GB, free: 12.94 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.603e-05/0.5237, allocations: 0 / 1.043 GB, free: 12.94 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002422/0.524, allocations: 56 kB / 1.043 GB, free: 12.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-05/0.5241, allocations: 39.94 kB / 1.043 GB, free: 12.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006164/0.5302, allocations: 2.028 MB / 1.045 GB, free: 10.81 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01287/0.5432, allocations: 4.448 MB / 1.05 GB, free: 6.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005106/0.5483, allocations: 1.445 MB / 1.051 GB, free: 4.816 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002142/0.5486, allocations: 57.19 kB / 1.051 GB, free: 4.762 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002568/0.5512, allocations: 0.7945 MB / 1.052 GB, free: 3.945 MB / 0.698 GB Notification: Performance of pre-optimization done (n=136): time 4.478e-06/0.5512, allocations: 0 / 1.052 GB, free: 3.945 MB / 0.698 GB Notification: Performance of matching and sorting (n=136): time 0.01018/0.5614, allocations: 2.125 MB / 1.054 GB, free: 1.773 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00021/0.5616, allocations: 355.3 kB / 1.054 GB, free: 1.344 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002208/0.5639, allocations: 1.031 MB / 1.055 GB, free: 308 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003035/0.5642, allocations: 57.64 kB / 1.055 GB, free: 244 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.6068/1.171, allocations: 0.6131 MB / 1.056 GB, free: 154.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006956/1.172, allocations: 445.4 kB / 1.056 GB, free: 154 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/1.172, allocations: 24.56 kB / 1.056 GB, free: 154 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.172, allocations: 349.3 kB / 1.057 GB, free: 153.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001943/1.174, allocations: 441.5 kB / 1.057 GB, free: 153.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002192/1.176, allocations: 0.6423 MB / 1.058 GB, free: 153.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002161/1.178, allocations: 0.5181 MB / 1.058 GB, free: 153.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.418e-05/1.179, allocations: 0 / 1.058 GB, free: 153.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.007622/1.186, allocations: 1.429 MB / 1.06 GB, free: 153.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/1.186, allocations: 8.359 kB / 1.06 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/1.186, allocations: 2.406 kB / 1.06 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001865/1.188, allocations: 167.6 kB / 1.06 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002451/1.191, allocations: 275.5 kB / 1.06 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005613/1.196, allocations: 3.089 MB / 1.063 GB, free: 150.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003149/1.2, allocations: 168.9 kB / 1.063 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000315/1.2, allocations: 57.23 kB / 1.063 GB, free: 150.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (145): * Single equations (assignments): 143 * 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.001072/1.201, allocations: 381.5 kB / 1.064 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004247/1.201, allocations: 149.3 kB / 1.064 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007954/1.209, allocations: 1.997 MB / 1.066 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.381e-05/1.209, allocations: 17.62 kB / 1.066 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/1.21, allocations: 3.953 kB / 1.066 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.099e-05/1.21, allocations: 9 kB / 1.066 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003463/1.213, allocations: 1.467 MB / 1.067 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.717e-05/1.213, allocations: 0.5625 kB / 1.067 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002466/1.216, allocations: 284.6 kB / 1.068 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001805/1.217, allocations: 168 kB / 1.068 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003249/1.218, allocations: 42.56 kB / 1.068 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005563/1.223, allocations: 3.151 MB / 1.071 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.223, allocations: 4.688 kB / 1.071 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006844/1.23, allocations: 1.633 MB / 1.072 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001469/1.232, allocations: 457.1 kB / 1.073 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005357/1.232, allocations: 32.7 kB / 1.073 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002318/1.235, allocations: 141.8 kB / 1.073 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005375/1.235, allocations: 113.7 kB / 1.073 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000233/1.236, allocations: 61.44 kB / 1.073 GB, free: 146.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001893/1.237, allocations: 0.723 MB / 1.074 GB, free: 146.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.122e-06/1.237, allocations: 0.6875 kB / 1.074 GB, free: 146.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002586/1.24, allocations: 439.5 kB / 1.074 GB, free: 146.8 MB / 0.698 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.002057/1.242, allocations: 0.5975 MB / 1.075 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005741/1.248, allocations: 1.451 MB / 1.076 GB, free: 146.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/1.248, allocations: 1.312 kB / 1.076 GB, free: 146.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003143/1.251, allocations: 0.9543 MB / 1.077 GB, free: 145.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003739/1.255, allocations: 468.6 kB / 1.078 GB, free: 145.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/1.267, allocations: 3.676 MB / 1.081 GB, free: 143.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/1.268, allocations: 1.315 MB / 1.083 GB, free: 143.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003117/1.272, allocations: 0.499 MB / 1.083 GB, free: 142.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008546/1.272, allocations: 182.4 kB / 1.083 GB, free: 142.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.292e-06/1.272, allocations: 0 / 1.083 GB, free: 142.9 MB / 0.698 GB Notification: Performance of Templates: time 0.08283/1.355, allocations: 23.35 MB / 1.106 GB, free: 124.1 MB / 0.698 GB