Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002441/0.002441, allocations: 357.2 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.453/1.453, allocations: 165.8 MB / 182.5 MB, free: 5.367 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.946/3.946, allocations: 410.8 MB / 0.5995 GB, free: 15.1 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.00171/0.00171, allocations: 199 kB / 0.6662 GB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007514/0.000752, allocations: 12 kB / 0.7423 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3326, allocations: 67.45 MB / 0.8082 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.004307/0.337, allocations: 3.753 MB / 0.8118 GB, free: 25.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.5352/0.8722, allocations: 136.4 MB / 0.9451 GB, free: 1.32 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008441/0.8731, allocations: 21.75 kB / 0.9451 GB, free: 1.316 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003925/0.8735, allocations: 72.09 kB / 0.9451 GB, free: 1.316 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001675/0.8752, allocations: 390.1 kB / 0.9455 GB, free: 1.312 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002337/0.8776, allocations: 0.6741 MB / 0.9462 GB, free: 1.301 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001464/0.879, allocations: 1.167 MB / 0.9473 GB, free: 1.297 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008361/0.8799, allocations: 0.5378 MB / 0.9478 GB, free: 1.203 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006411/0.8806, allocations: 357.4 kB / 0.9482 GB, free: 1.137 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005571/0.8811, allocations: 410.4 kB / 0.9486 GB, free: 1.031 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.8813, allocations: 28.91 kB / 0.9486 GB, free: 1.031 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000863/0.8821, allocations: 293.3 kB / 0.9489 GB, free: 1.023 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002175/0.8824, allocations: 203.9 kB / 0.9491 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002301/0.8826, allocations: 198.6 kB / 0.9493 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.8841, allocations: 1.18 MB / 0.9504 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.8841, allocations: 3.25 kB / 0.9504 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.21e-06/0.8841, allocations: 0 / 0.9504 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.374e-05/0.8841, allocations: 0 / 0.9504 GB, free: 0.8203 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.002908/0.8871, allocations: 1.287 MB / 0.9517 GB, free: 56 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.8871, allocations: 11.19 kB / 0.9517 GB, free: 56 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005955/0.8931, allocations: 0.7815 MB / 0.9524 GB, free: 15.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/0.8949, allocations: 0.7403 MB / 0.9532 GB, free: 15.65 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.63e-05/0.8951, allocations: 76.5 kB / 0.9532 GB, free: 15.64 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002603/0.8953, allocations: 95.28 kB / 0.9533 GB, free: 15.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004142/0.8995, allocations: 1.353 MB / 0.9547 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.101e-05/0.8996, allocations: 0.5312 kB / 0.9547 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001606/0.8997, allocations: 43.38 kB / 0.9547 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.453e-05/0.8998, allocations: 28.69 kB / 0.9547 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00595/0.9058, allocations: 1.833 MB / 0.9565 GB, free: 15.42 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008087/0.9139, allocations: 3.162 MB / 0.9596 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004118/0.9181, allocations: 1.218 MB / 0.9608 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/0.9199, allocations: 0.5546 MB / 0.9613 GB, free: 14.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008291/0.9207, allocations: 490 kB / 0.9618 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002105/0.9228, allocations: 0.7131 MB / 0.9625 GB, free: 13.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=99): time 5.149e-06/0.9229, allocations: 2.875 kB / 0.9625 GB, free: 13.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=99): time 0.006776/0.9297, allocations: 1.814 MB / 0.9643 GB, free: 13.31 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001413/0.9298, allocations: 189 kB / 0.9644 GB, free: 13.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009878/0.9308, allocations: 0.58 MB / 0.965 GB, free: 12.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002173/0.9311, allocations: 45.27 kB / 0.9651 GB, free: 12.85 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004321/0.9315, allocations: 409.8 kB / 0.9654 GB, free: 12.61 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004745/0.932, allocations: 332.3 kB / 0.9658 GB, free: 12.37 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.892e-05/0.9321, allocations: 15.53 kB / 0.9658 GB, free: 12.37 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002434/0.9324, allocations: 384 kB / 0.9661 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001724/0.9341, allocations: 470.5 kB / 0.9666 GB, free: 11.94 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001824/0.936, allocations: 0.5611 MB / 0.9671 GB, free: 11.79 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001757/0.9377, allocations: 0.4945 MB / 0.9676 GB, free: 11.71 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.9378, allocations: 1.859 kB / 0.9676 GB, free: 11.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.004619/0.9424, allocations: 1.268 MB / 0.9689 GB, free: 11.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.9425, allocations: 5.188 kB / 0.9689 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.9425, allocations: 3.984 kB / 0.9689 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006564/0.9432, allocations: 85.47 kB / 0.969 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/0.9449, allocations: 248.2 kB / 0.9692 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002613/0.9476, allocations: 1.519 MB / 0.9707 GB, free: 9.945 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.9492, allocations: 151.9 kB / 0.9708 GB, free: 9.879 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000207/0.9494, allocations: 41.78 kB / 0.9709 GB, free: 9.871 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$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 (111): * Single equations (assignments): 110 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00071/0.9501, allocations: 280.2 kB / 0.9711 GB, free: 9.727 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002598/0.9504, allocations: 84.44 kB / 0.9712 GB, free: 9.684 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005408/0.9558, allocations: 1.569 MB / 0.9727 GB, free: 9.227 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.9559, allocations: 10.75 kB / 0.9728 GB, free: 9.227 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.9559, allocations: 4 kB / 0.9728 GB, free: 9.223 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.081e-05/0.9559, allocations: 10.81 kB / 0.9728 GB, free: 9.215 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.9578, allocations: 1.069 MB / 0.9738 GB, free: 8.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.9578, allocations: 3.953 kB / 0.9738 GB, free: 8.727 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001627/0.9595, allocations: 244.1 kB / 0.974 GB, free: 8.668 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006147/0.9601, allocations: 89.91 kB / 0.9741 GB, free: 8.629 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/0.9603, allocations: 34.59 kB / 0.9742 GB, free: 8.621 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002429/0.9627, allocations: 1.54 MB / 0.9757 GB, free: 7.254 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.916e-06/0.9627, allocations: 3.984 kB / 0.9757 GB, free: 7.25 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004709/0.9675, allocations: 1.333 MB / 0.977 GB, free: 6.902 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000817/0.9683, allocations: 311.5 kB / 0.9773 GB, free: 6.691 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002714/0.9686, allocations: 21.34 kB / 0.9773 GB, free: 6.691 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/0.9699, allocations: 125.3 kB / 0.9774 GB, free: 6.652 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/0.9702, allocations: 70.8 kB / 0.9775 GB, free: 6.625 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/0.9703, allocations: 43.59 kB / 0.9775 GB, free: 6.617 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007217/0.971, allocations: 426.5 kB / 0.9779 GB, free: 6.469 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.14e-07/0.9711, allocations: 0 / 0.9779 GB, free: 6.469 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00123/0.9723, allocations: 341 kB / 0.9783 GB, free: 6.402 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001892/0.9742, allocations: 0.579 MB / 0.9788 GB, free: 6.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00431/0.9785, allocations: 1.281 MB / 0.9801 GB, free: 5.824 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.224e-06/0.9786, allocations: 0 / 0.9801 GB, free: 5.824 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002302/0.9809, allocations: 0.754 MB / 0.9808 GB, free: 5.59 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.9825, allocations: 270.1 kB / 0.9811 GB, free: 5.512 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006357/0.9889, allocations: 2.508 MB / 0.9835 GB, free: 4.184 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000908/0.9898, allocations: 1.087 MB / 0.9846 GB, free: 3.309 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002224/0.9921, allocations: 319.7 kB / 0.9849 GB, free: 3.137 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005528/0.9927, allocations: 117.6 kB / 0.985 GB, free: 3.105 MB / 490.7 MB Notification: Performance of SimCode: time 2.238e-06/0.9927, allocations: 0 / 0.985 GB, free: 3.105 MB / 490.7 MB Notification: Performance of Templates: time 0.03854/1.031, allocations: 15.11 MB / 0.9997 GB, free: 8.199 MB / 0.4948 GB