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.002379/0.002382, allocations: 356.8 kB / 15.94 MB, free: 6.207 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.414/1.414, allocations: 165.8 MB / 182.5 MB, free: 5.934 MB / 90.73 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.428/4.428, allocations: 410.8 MB / 0.5995 GB, free: 2.172 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002813/0.002812, allocations: 181.2 kB / 0.6662 GB, free: 14.04 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004839/0.0004842, allocations: 8 kB / 0.7423 GB, free: 40 kB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4075, allocations: 67.43 MB / 0.8081 GB, free: 245.3 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.007562/0.4151, allocations: 5.332 MB / 0.8133 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.1487/0.5639, allocations: 138.7 MB / 0.9488 GB, free: 113.3 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.5653, allocations: 31.81 kB / 0.9488 GB, free: 113.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0005549/0.5659, allocations: 130.8 kB / 0.9489 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.002397/0.5683, allocations: 0.5591 MB / 0.9495 GB, free: 112.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.003139/0.5715, allocations: 0.9669 MB / 0.9504 GB, free: 111.7 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.002591/0.5741, allocations: 2.004 MB / 0.9524 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/0.5753, allocations: 0.7327 MB / 0.9531 GB, free: 109 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009214/0.5763, allocations: 0.5443 MB / 0.9536 GB, free: 108.4 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007347/0.577, allocations: 0.5713 MB / 0.9542 GB, free: 107.9 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001825/0.5773, allocations: 44 kB / 0.9542 GB, free: 107.8 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.5787, allocations: 0.659 MB / 0.9548 GB, free: 107.2 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002963/0.579, allocations: 306.6 kB / 0.9551 GB, free: 106.9 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0003415/0.5794, allocations: 320 kB / 0.9554 GB, free: 106.5 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.002236/0.5816, allocations: 1.878 MB / 0.9573 GB, free: 104.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.941e-06/0.5816, allocations: 0 / 0.9573 GB, free: 104.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.669e-06/0.5816, allocations: 0 / 0.9573 GB, free: 104.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.339e-05/0.5817, allocations: 4 kB / 0.9573 GB, free: 104.6 MB / 0.5886 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.003396/0.5851, allocations: 1.777 MB / 0.959 GB, free: 102.8 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.5851, allocations: 8.031 kB / 0.959 GB, free: 102.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003066/0.5882, allocations: 381.3 kB / 0.9594 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002439/0.5907, allocations: 1.143 MB / 0.9605 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.219e-05/0.5908, allocations: 96.64 kB / 0.9606 GB, free: 101.1 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002274/0.5911, allocations: 132 kB / 0.9607 GB, free: 101 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00347/0.5946, allocations: 1.508 MB / 0.9622 GB, free: 99.41 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.707e-05/0.5946, allocations: 0 / 0.9622 GB, free: 99.41 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000178/0.5948, allocations: 56 kB / 0.9622 GB, free: 99.36 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.782e-05/0.5949, allocations: 32 kB / 0.9623 GB, free: 99.32 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004172/0.5991, allocations: 2.04 MB / 0.9643 GB, free: 97.29 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01415/0.6132, allocations: 4.455 MB / 0.9686 GB, free: 92.76 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006341/0.6196, allocations: 1.428 MB / 0.97 GB, free: 91.32 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002597/0.6223, allocations: 0.5424 MB / 0.9705 GB, free: 90.78 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002503/0.6226, allocations: 58.2 kB / 0.9706 GB, free: 90.72 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003214/0.6258, allocations: 0.7995 MB / 0.9714 GB, free: 89.9 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=136): time 9.14e-06/0.6259, allocations: 0 / 0.9714 GB, free: 89.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=136): time 0.008994/0.6349, allocations: 2.125 MB / 0.9735 GB, free: 87.73 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.94e-05/0.635, allocations: 355.2 kB / 0.9738 GB, free: 87.31 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/0.6367, allocations: 1.034 MB / 0.9748 GB, free: 86.26 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0002272/0.6369, allocations: 53.7 kB / 0.9749 GB, free: 86.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004743/0.6374, allocations: 0.6025 MB / 0.9754 GB, free: 85.59 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003988/0.6378, allocations: 449.5 kB / 0.9759 GB, free: 85.15 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.422e-05/0.6379, allocations: 32 kB / 0.9759 GB, free: 85.12 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.583e-05/0.638, allocations: 357.9 kB / 0.9762 GB, free: 84.76 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.6393, allocations: 478.3 kB / 0.9767 GB, free: 84.29 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/0.6408, allocations: 0.6497 MB / 0.9773 GB, free: 83.61 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.6422, allocations: 0.549 MB / 0.9779 GB, free: 83.06 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.6422, allocations: 4 kB / 0.9779 GB, free: 83.05 MB / 0.5886 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.004474/0.6467, allocations: 1.52 MB / 0.9794 GB, free: 81.52 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.6468, allocations: 8 kB / 0.9794 GB, free: 81.51 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.6468, allocations: 3.984 kB / 0.9794 GB, free: 81.51 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.648, allocations: 177.7 kB / 0.9795 GB, free: 81.33 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/0.6496, allocations: 295.6 kB / 0.9798 GB, free: 81.04 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004054/0.6537, allocations: 3.061 MB / 0.9828 GB, free: 77.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.6554, allocations: 177.6 kB / 0.983 GB, free: 77.54 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002151/0.6557, allocations: 71.89 kB / 0.9831 GB, free: 77.47 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.canRepeatWeatherFile,$whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 159 * 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.0008826/0.6565, allocations: 393.4 kB / 0.9834 GB, free: 77.09 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003186/0.6569, allocations: 142.2 kB / 0.9836 GB, free: 76.95 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00568/0.6626, allocations: 1.991 MB / 0.9855 GB, free: 74.97 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.056e-05/0.6626, allocations: 16 kB / 0.9855 GB, free: 74.95 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.941e-06/0.6627, allocations: 7.938 kB / 0.9855 GB, free: 74.95 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-05/0.6627, allocations: 17.05 kB / 0.9855 GB, free: 74.93 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002096/0.6648, allocations: 1.454 MB / 0.987 GB, free: 73.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.24e-06/0.6648, allocations: 0 / 0.987 GB, free: 73.43 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/0.6663, allocations: 275.7 kB / 0.9872 GB, free: 73.16 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001134/0.6674, allocations: 177.5 kB / 0.9874 GB, free: 72.98 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001638/0.6676, allocations: 43.97 kB / 0.9874 GB, free: 72.94 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003719/0.6714, allocations: 3.115 MB / 0.9905 GB, free: 69.55 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.677e-06/0.6714, allocations: 0 / 0.9905 GB, free: 69.55 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00585/0.6772, allocations: 1.634 MB / 0.9921 GB, free: 67.9 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001569/0.6789, allocations: 450.5 kB / 0.9925 GB, free: 67.44 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005576/0.6795, allocations: 35.98 kB / 0.9925 GB, free: 67.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002251/0.6818, allocations: 133.9 kB / 0.9927 GB, free: 67.27 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004552/0.6822, allocations: 113.8 kB / 0.9928 GB, free: 67.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002636/0.6825, allocations: 63.95 kB / 0.9928 GB, free: 67.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002068/0.6846, allocations: 0.7175 MB / 0.9935 GB, free: 66.38 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.152e-06/0.6847, allocations: 0 / 0.9935 GB, free: 66.38 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002448/0.6871, allocations: 462.9 kB / 0.994 GB, free: 65.93 MB / 0.5886 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.001895/0.6891, allocations: 0.5982 MB / 0.9946 GB, free: 65.57 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.006109/0.6952, allocations: 1.514 MB / 0.996 GB, free: 64.03 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/0.6953, allocations: 4 kB / 0.996 GB, free: 64.02 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.003649/0.6989, allocations: 0.9498 MB / 0.997 GB, free: 63.05 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00448/0.7035, allocations: 487.5 kB / 0.9974 GB, free: 62.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/0.715, allocations: 3.701 MB / 1.001 GB, free: 58.87 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008524/0.7159, allocations: 1.316 MB / 1.002 GB, free: 57.52 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002246/0.7182, allocations: 499.4 kB / 1.003 GB, free: 57.08 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005688/0.7188, allocations: 187.3 kB / 1.003 GB, free: 56.9 MB / 0.5886 GB Notification: Performance of SimCode: time 1.625e-06/0.7188, allocations: 0 / 1.003 GB, free: 56.9 MB / 0.5886 GB Notification: Performance of Templates: time 0.05865/0.7774, allocations: 23.3 MB / 1.026 GB, free: 34.1 MB / 0.5886 GB