Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00137/0.001373, allocations: 189 kB / 15.77 MB, free: 6.031 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.7618/0.7618, allocations: 82.93 MB / 99.42 MB, free: 3.293 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.291/2.291, allocations: 205.4 MB / 325.4 MB, free: 3.309 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.002039/0.002038, allocations: 90.84 kB / 393.6 MB, free: 15.07 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004726/0.0004728, allocations: 12 kB / 471.5 MB, free: 66.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09042/0.09091, allocations: 67.44 MB / 0.5264 GB, free: 15.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005735/0.09669, allocations: 3.523 MB / 0.5298 GB, free: 11.51 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.5905/0.6872, allocations: 127.3 MB / 0.6541 GB, free: 6.184 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007179/0.688, allocations: 17.84 kB / 0.6541 GB, free: 6.176 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003658/0.6884, allocations: 71.88 kB / 0.6542 GB, free: 6.113 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001715/0.6901, allocations: 435.7 kB / 0.6546 GB, free: 5.793 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002207/0.6923, allocations: 0.6066 MB / 0.6552 GB, free: 5.375 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001493/0.6938, allocations: 0.7448 MB / 0.6559 GB, free: 4.871 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009273/0.6948, allocations: 0.5099 MB / 0.6564 GB, free: 4.57 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006143/0.6954, allocations: 312 kB / 0.6567 GB, free: 4.398 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000465/0.6959, allocations: 298.4 kB / 0.657 GB, free: 4.215 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.242e-05/0.696, allocations: 20.81 kB / 0.657 GB, free: 4.215 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008164/0.6968, allocations: 264.6 kB / 0.6572 GB, free: 4.105 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.6971, allocations: 170 kB / 0.6574 GB, free: 3.996 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002246/0.6973, allocations: 190.6 kB / 0.6576 GB, free: 3.859 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.6989, allocations: 1.081 MB / 0.6586 GB, free: 3.078 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.174e-06/0.6989, allocations: 0 / 0.6586 GB, free: 3.078 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.243e-06/0.699, allocations: 0 / 0.6586 GB, free: 3.078 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.552e-05/0.699, allocations: 0 / 0.6586 GB, free: 3.078 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002392/0.7014, allocations: 1.165 MB / 0.6598 GB, free: 2.125 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.7014, allocations: 10.31 kB / 0.6598 GB, free: 2.125 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/0.7028, allocations: 208.2 kB / 0.66 GB, free: 2.031 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/0.7043, allocations: 0.7 MB / 0.6607 GB, free: 1.457 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.925e-05/0.7044, allocations: 67.95 kB / 0.6607 GB, free: 1.422 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.7046, allocations: 84.66 kB / 0.6608 GB, free: 1.395 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/0.7069, allocations: 0.9202 MB / 0.6617 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/0.7069, allocations: 3.984 kB / 0.6617 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.7071, allocations: 38.16 kB / 0.6618 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.357e-05/0.7071, allocations: 26.53 kB / 0.6618 GB, free: 0.7656 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002539/0.7097, allocations: 1.112 MB / 0.6629 GB, free: 244 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005737/0.7154, allocations: 2.558 MB / 0.6654 GB, free: 14.31 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001979/0.7175, allocations: 0.7544 MB / 0.6661 GB, free: 13.93 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007965/0.7183, allocations: 463.2 kB / 0.6665 GB, free: 13.43 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001164/0.7195, allocations: 448.1 kB / 0.667 GB, free: 13.14 MB / 458.7 MB Notification: Performance of pre-optimization done (n=73): time 4.368e-06/0.7195, allocations: 0 / 0.667 GB, free: 13.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=73): time 0.004409/0.7239, allocations: 1.114 MB / 0.6681 GB, free: 12.53 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001678/0.7242, allocations: 195.2 kB / 0.6682 GB, free: 12.3 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.7252, allocations: 0.5768 MB / 0.6688 GB, free: 11.96 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001415/0.7254, allocations: 38.58 kB / 0.6688 GB, free: 11.92 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004457/0.7259, allocations: 401.3 kB / 0.6692 GB, free: 11.57 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003156/0.7262, allocations: 236.6 kB / 0.6695 GB, free: 11.36 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/0.7262, allocations: 14.84 kB / 0.6695 GB, free: 11.35 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002447/0.7265, allocations: 382.6 kB / 0.6698 GB, free: 10.98 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006855/0.7272, allocations: 230.1 kB / 0.6701 GB, free: 10.87 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007912/0.728, allocations: 327.6 kB / 0.6704 GB, free: 10.66 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007851/0.7288, allocations: 269.6 kB / 0.6706 GB, free: 10.53 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.207e-06/0.7288, allocations: 4 kB / 0.6706 GB, free: 10.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00241/0.7313, allocations: 0.7443 MB / 0.6714 GB, free: 10.14 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.7313, allocations: 9.547 kB / 0.6714 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.7313, allocations: 3.062 kB / 0.6714 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006686/0.732, allocations: 80.62 kB / 0.6714 GB, free: 10.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008498/0.7329, allocations: 142.3 kB / 0.6716 GB, free: 10.06 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002769/0.7357, allocations: 1.536 MB / 0.6731 GB, free: 8.551 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009133/0.7366, allocations: 81.64 kB / 0.6732 GB, free: 8.484 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.7368, allocations: 35.97 kB / 0.6732 GB, free: 8.449 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (76): * Single equations (assignments): 75 * 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.0006469/0.7375, allocations: 250.4 kB / 0.6734 GB, free: 8.195 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002218/0.7377, allocations: 75.06 kB / 0.6735 GB, free: 8.121 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003304/0.741, allocations: 1.033 MB / 0.6745 GB, free: 7.07 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/0.7411, allocations: 8 kB / 0.6745 GB, free: 7.062 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.388e-06/0.7411, allocations: 0 / 0.6745 GB, free: 7.062 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/0.7411, allocations: 3.984 kB / 0.6745 GB, free: 7.059 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.7427, allocations: 0.8684 MB / 0.6754 GB, free: 6.141 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.356e-06/0.7428, allocations: 4 kB / 0.6754 GB, free: 6.137 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008487/0.7436, allocations: 143.8 kB / 0.6755 GB, free: 5.996 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006426/0.7443, allocations: 92.72 kB / 0.6756 GB, free: 5.902 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.7444, allocations: 19.98 kB / 0.6756 GB, free: 5.883 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002582/0.747, allocations: 1.571 MB / 0.6771 GB, free: 4.172 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.7471, allocations: 4.062 kB / 0.6772 GB, free: 4.168 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002701/0.7498, allocations: 0.8575 MB / 0.678 GB, free: 3.285 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006017/0.7504, allocations: 267.8 kB / 0.6782 GB, free: 3.004 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.7506, allocations: 19.94 kB / 0.6783 GB, free: 2.984 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007208/0.7513, allocations: 67.94 kB / 0.6783 GB, free: 2.918 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.7515, allocations: 60.91 kB / 0.6784 GB, free: 2.859 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.563e-05/0.7516, allocations: 31.98 kB / 0.6784 GB, free: 2.828 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007962/0.7524, allocations: 431 kB / 0.6788 GB, free: 2.414 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.24e-07/0.7524, allocations: 0 / 0.6788 GB, free: 2.414 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001095/0.7535, allocations: 291.1 kB / 0.6791 GB, free: 2.129 MB / 458.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 (84): * Single equations (assignments): 81 * 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.001902/0.7555, allocations: 0.5627 MB / 0.6797 GB, free: 1.699 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002227/0.7577, allocations: 0.7401 MB / 0.6804 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.305e-06/0.7578, allocations: 7.875 kB / 0.6804 GB, free: 0.9453 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001281/0.759, allocations: 0.4924 MB / 0.6809 GB, free: 448 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.7604, allocations: 242.8 kB / 0.6811 GB, free: 212 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005347/0.7658, allocations: 2.12 MB / 0.6832 GB, free: 14.06 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008938/0.7667, allocations: 1.039 MB / 0.6842 GB, free: 13 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00127/0.768, allocations: 258.1 kB / 0.6844 GB, free: 12.74 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003713/0.7684, allocations: 99.33 kB / 0.6845 GB, free: 12.64 MB / 474.7 MB Notification: Performance of SimCode: time 1.63e-06/0.7684, allocations: 4 kB / 0.6845 GB, free: 12.64 MB / 474.7 MB Notification: Performance of Templates: time 0.03391/0.8023, allocations: 12.94 MB / 0.6972 GB, free: 15.8 MB / 490.7 MB