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.002278/0.002278, allocations: 182.6 kB / 15.76 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.6818/0.6818, allocations: 82.92 MB / 99.42 MB, free: 3.242 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.236/2.236, allocations: 205.4 MB / 325.4 MB, free: 4.312 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 88.98 kB / 393.6 MB, free: 96 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004642/0.0004645, allocations: 16 kB / 471.5 MB, free: 66.71 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09537/0.09585, allocations: 67.45 MB / 0.5264 GB, free: 15.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005934/0.1018, allocations: 3.695 MB / 0.53 GB, free: 11.51 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.5783/0.6802, allocations: 127.4 MB / 0.6543 GB, free: 5.988 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.6871, allocations: 14.41 kB / 0.6544 GB, free: 5.984 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005932/0.6877, allocations: 74.28 kB / 0.6544 GB, free: 5.918 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003015/0.6908, allocations: 429.8 kB / 0.6548 GB, free: 5.605 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004249/0.6951, allocations: 0.6696 MB / 0.6555 GB, free: 5.137 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01331/0.7084, allocations: 0.8163 MB / 0.6563 GB, free: 4.582 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00182/0.7103, allocations: 0.5372 MB / 0.6568 GB, free: 4.258 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001206/0.7115, allocations: 376.5 kB / 0.6572 GB, free: 4.051 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.7126, allocations: 387.2 kB / 0.6575 GB, free: 3.805 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002067/0.7129, allocations: 28.03 kB / 0.6576 GB, free: 3.805 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/0.7143, allocations: 267.2 kB / 0.6578 GB, free: 3.703 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004412/0.7148, allocations: 197.9 kB / 0.658 GB, free: 3.57 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000427/0.7152, allocations: 201.5 kB / 0.6582 GB, free: 3.43 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0155/0.7307, allocations: 1.186 MB / 0.6594 GB, free: 2.57 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.061e-06/0.7308, allocations: 0 / 0.6594 GB, free: 2.57 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.921e-06/0.7308, allocations: 0 / 0.6594 GB, free: 2.57 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.103e-05/0.7309, allocations: 0 / 0.6594 GB, free: 2.57 MB / 442.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.00544/0.7364, allocations: 1.293 MB / 0.6606 GB, free: 1.555 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.995e-05/0.7365, allocations: 11.42 kB / 0.6606 GB, free: 1.551 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01358/0.7501, allocations: 0.7789 MB / 0.6614 GB, free: 1.223 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002933/0.7531, allocations: 0.7495 MB / 0.6621 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.7532, allocations: 73.38 kB / 0.6622 GB, free: 0.5664 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003543/0.7536, allocations: 96.56 kB / 0.6623 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006828/0.7605, allocations: 1.343 MB / 0.6636 GB, free: 15.69 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.056e-05/0.7606, allocations: 0 / 0.6636 GB, free: 15.69 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002526/0.7608, allocations: 42.34 kB / 0.6636 GB, free: 15.66 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.662e-05/0.7609, allocations: 23.12 kB / 0.6637 GB, free: 15.66 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008774/0.7697, allocations: 1.836 MB / 0.6655 GB, free: 14.81 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01202/0.7818, allocations: 3.162 MB / 0.6685 GB, free: 12.48 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004102/0.7859, allocations: 1.225 MB / 0.6697 GB, free: 11.87 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008306/0.7868, allocations: 477.4 kB / 0.6702 GB, free: 11.36 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002281/0.7891, allocations: 0.7093 MB / 0.6709 GB, free: 10.93 MB / 458.7 MB Notification: Performance of pre-optimization done (n=99): time 4.947e-06/0.7891, allocations: 7.938 kB / 0.6709 GB, free: 10.92 MB / 458.7 MB Notification: Performance of matching and sorting (n=99): time 0.007167/0.7963, allocations: 1.807 MB / 0.6727 GB, free: 9.383 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/0.7965, allocations: 188.9 kB / 0.6728 GB, free: 9.156 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.7976, allocations: 0.5784 MB / 0.6734 GB, free: 8.57 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001938/0.7978, allocations: 49.7 kB / 0.6735 GB, free: 8.516 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004888/0.7983, allocations: 416.3 kB / 0.6739 GB, free: 8.102 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004495/0.7988, allocations: 331.2 kB / 0.6742 GB, free: 7.773 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.707e-05/0.7989, allocations: 23.94 kB / 0.6742 GB, free: 7.75 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002607/0.7992, allocations: 386.8 kB / 0.6746 GB, free: 7.363 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001756/0.8009, allocations: 441.7 kB / 0.675 GB, free: 6.93 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001888/0.8028, allocations: 0.5617 MB / 0.6755 GB, free: 6.34 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002438/0.8053, allocations: 486.8 kB / 0.676 GB, free: 5.867 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.046e-06/0.8054, allocations: 4 kB / 0.676 GB, free: 5.863 MB / 458.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.008366/0.8138, allocations: 1.22 MB / 0.6772 GB, free: 4.629 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.479e-05/0.8139, allocations: 8 kB / 0.6772 GB, free: 4.621 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.8139, allocations: 128 / 0.6772 GB, free: 4.621 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/0.815, allocations: 84.78 kB / 0.6773 GB, free: 4.535 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002966/0.818, allocations: 231.7 kB / 0.6775 GB, free: 4.309 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003285/0.8213, allocations: 1.544 MB / 0.679 GB, free: 2.629 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.8228, allocations: 155.1 kB / 0.6792 GB, free: 2.477 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/0.823, allocations: 39.97 kB / 0.6792 GB, free: 2.438 MB / 458.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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 102 * 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.0007222/0.8237, allocations: 271.4 kB / 0.6794 GB, free: 2.164 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002678/0.824, allocations: 82.97 kB / 0.6795 GB, free: 2.082 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005906/0.8299, allocations: 1.565 MB / 0.6811 GB, free: 0.4961 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.83, allocations: 12 kB / 0.6811 GB, free: 496 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.83, allocations: 0 / 0.6811 GB, free: 496 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-05/0.8301, allocations: 15.86 kB / 0.6811 GB, free: 480 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/0.8321, allocations: 1.082 MB / 0.6821 GB, free: 15.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.026e-06/0.8322, allocations: 0 / 0.6821 GB, free: 15.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001685/0.8339, allocations: 243.6 kB / 0.6824 GB, free: 15.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006433/0.8345, allocations: 84.77 kB / 0.6825 GB, free: 15.01 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/0.8347, allocations: 35.97 kB / 0.6825 GB, free: 14.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002585/0.8373, allocations: 1.552 MB / 0.684 GB, free: 13.29 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.456e-06/0.8374, allocations: 0 / 0.684 GB, free: 13.29 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004925/0.8423, allocations: 1.338 MB / 0.6853 GB, free: 11.93 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007561/0.8431, allocations: 307.5 kB / 0.6856 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002042/0.8433, allocations: 24 kB / 0.6856 GB, free: 11.58 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/0.8446, allocations: 120 kB / 0.6857 GB, free: 11.46 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/0.8448, allocations: 81.11 kB / 0.6858 GB, free: 11.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/0.845, allocations: 39.97 kB / 0.6859 GB, free: 11.35 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007731/0.8457, allocations: 431 kB / 0.6863 GB, free: 10.93 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.36e-07/0.8458, allocations: 0 / 0.6863 GB, free: 10.93 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001175/0.8469, allocations: 327.2 kB / 0.6866 GB, free: 10.61 MB / 474.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.00192/0.8489, allocations: 0.5823 MB / 0.6871 GB, free: 10.16 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004323/0.8532, allocations: 1.249 MB / 0.6884 GB, free: 8.898 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.867e-06/0.8533, allocations: 0 / 0.6884 GB, free: 8.898 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002409/0.8557, allocations: 0.7617 MB / 0.6891 GB, free: 8.125 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.8571, allocations: 239.6 kB / 0.6893 GB, free: 7.898 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006544/0.8636, allocations: 2.516 MB / 0.6918 GB, free: 5.355 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009484/0.8646, allocations: 1.071 MB / 0.6928 GB, free: 4.254 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002069/0.8667, allocations: 323 kB / 0.6931 GB, free: 3.934 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005636/0.8673, allocations: 115.4 kB / 0.6933 GB, free: 3.82 MB / 474.7 MB Notification: Performance of SimCode: time 1.776e-06/0.8673, allocations: 0 / 0.6933 GB, free: 3.82 MB / 474.7 MB Notification: Performance of Templates: time 0.0444/0.9117, allocations: 15.11 MB / 0.708 GB, free: 4.812 MB / 490.7 MB