Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001437/0.001436, allocations: 186.9 kB / 15.77 MB, free: 6.375 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.6726/0.6726, allocations: 82.94 MB / 99.42 MB, free: 2.238 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.152/2.152, allocations: 205.4 MB / 325.4 MB, free: 6.551 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001025/0.001024, allocations: 91.48 kB / 393.6 MB, free: 11.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004612/0.0004614, allocations: 12 kB / 471.5 MB, free: 13.33 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.401, allocations: 67.43 MB / 0.5263 GB, free: 55.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007513/0.4086, allocations: 3.508 MB / 0.5298 GB, free: 53.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.2211/0.6298, allocations: 127.3 MB / 0.6541 GB, free: 15.7 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007766/0.6306, allocations: 19.88 kB / 0.6541 GB, free: 15.68 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000336/0.631, allocations: 71.34 kB / 0.6542 GB, free: 15.61 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001695/0.6327, allocations: 444.8 kB / 0.6546 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002139/0.6348, allocations: 0.5854 MB / 0.6552 GB, free: 14.6 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001548/0.6364, allocations: 0.7442 MB / 0.6559 GB, free: 13.85 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009055/0.6373, allocations: 459.1 kB / 0.6564 GB, free: 13.38 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000623/0.638, allocations: 318.6 kB / 0.6567 GB, free: 13.07 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004919/0.6385, allocations: 306.3 kB / 0.657 GB, free: 12.77 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.735e-05/0.6386, allocations: 20 kB / 0.657 GB, free: 12.75 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007836/0.6394, allocations: 243.7 kB / 0.6572 GB, free: 12.51 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002394/0.6396, allocations: 171.3 kB / 0.6574 GB, free: 12.34 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002324/0.6399, allocations: 185.1 kB / 0.6576 GB, free: 12.16 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00155/0.6414, allocations: 1.025 MB / 0.6586 GB, free: 11.13 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.821e-06/0.6415, allocations: 0 / 0.6586 GB, free: 11.13 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.196e-06/0.6415, allocations: 0 / 0.6586 GB, free: 11.13 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.6415, allocations: 0 / 0.6586 GB, free: 11.13 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.00241/0.6439, allocations: 1.122 MB / 0.6597 GB, free: 9.961 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.644, allocations: 12.03 kB / 0.6597 GB, free: 9.949 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.6451, allocations: 190.6 kB / 0.6599 GB, free: 9.762 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.6465, allocations: 0.6798 MB / 0.6605 GB, free: 9.039 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.866e-05/0.6466, allocations: 61.95 kB / 0.6606 GB, free: 8.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.6468, allocations: 76 kB / 0.6606 GB, free: 8.906 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/0.6489, allocations: 0.8676 MB / 0.6615 GB, free: 7.996 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/0.6489, allocations: 4 kB / 0.6615 GB, free: 7.992 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.6491, allocations: 32 kB / 0.6615 GB, free: 7.961 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.485e-05/0.6491, allocations: 20 kB / 0.6615 GB, free: 7.941 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002528/0.6516, allocations: 1.089 MB / 0.6626 GB, free: 6.855 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00549/0.6571, allocations: 2.415 MB / 0.665 GB, free: 4.375 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/0.6592, allocations: 0.7503 MB / 0.6657 GB, free: 3.617 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.6593, allocations: 40.59 kB / 0.6657 GB, free: 3.578 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001087/0.6604, allocations: 439.3 kB / 0.6662 GB, free: 3.133 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 4.252e-06/0.6605, allocations: 0 / 0.6662 GB, free: 3.133 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.004373/0.6648, allocations: 1.124 MB / 0.6673 GB, free: 1.977 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/0.665, allocations: 192.5 kB / 0.6674 GB, free: 1.746 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.6662, allocations: 0.5783 MB / 0.668 GB, free: 1.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000217/0.6665, allocations: 41.7 kB / 0.668 GB, free: 1.113 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005347/0.667, allocations: 372.3 kB / 0.6684 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000342/0.6674, allocations: 248.3 kB / 0.6686 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-05/0.6675, allocations: 16 kB / 0.6687 GB, free: 492 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002506/0.6677, allocations: 382.7 kB / 0.669 GB, free: 100 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007416/0.6685, allocations: 233.9 kB / 0.6692 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008486/0.6693, allocations: 338.2 kB / 0.6696 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008011/0.6702, allocations: 275.1 kB / 0.6698 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.913e-06/0.6702, allocations: 3.938 kB / 0.6698 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002518/0.6727, allocations: 0.7549 MB / 0.6706 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.6728, allocations: 8 kB / 0.6706 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-06/0.6728, allocations: 0 / 0.6706 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006835/0.6735, allocations: 84.86 kB / 0.6707 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009327/0.6744, allocations: 151.8 kB / 0.6708 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002751/0.6772, allocations: 1.555 MB / 0.6723 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008534/0.6781, allocations: 75.41 kB / 0.6724 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.6782, allocations: 27.98 kB / 0.6724 GB, free: 12.44 MB / 0.4948 GB 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 (81): * Single equations (assignments): 80 * 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.0005947/0.6788, allocations: 253.7 kB / 0.6727 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002095/0.6791, allocations: 75.06 kB / 0.6727 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003341/0.6824, allocations: 1.049 MB / 0.6738 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.902e-05/0.6825, allocations: 8 kB / 0.6738 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.171e-06/0.6825, allocations: 4 kB / 0.6738 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/0.6825, allocations: 7.984 kB / 0.6738 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004693/0.6872, allocations: 1.884 MB / 0.6756 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.342e-06/0.6873, allocations: 0 / 0.6756 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008185/0.6881, allocations: 147.8 kB / 0.6758 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006657/0.6888, allocations: 84.77 kB / 0.6758 GB, free: 8.848 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/0.6889, allocations: 23.98 kB / 0.6759 GB, free: 8.824 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002623/0.6916, allocations: 1.559 MB / 0.6774 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.792e-06/0.6916, allocations: 0 / 0.6774 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002725/0.6943, allocations: 0.9297 MB / 0.6783 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005789/0.6949, allocations: 279.8 kB / 0.6786 GB, free: 5.887 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/0.6951, allocations: 19.95 kB / 0.6786 GB, free: 5.867 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007989/0.6959, allocations: 63.94 kB / 0.6786 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.6961, allocations: 64.91 kB / 0.6787 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.573e-05/0.6962, allocations: 31.98 kB / 0.6787 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000789/0.697, allocations: 427 kB / 0.6791 GB, free: 5.301 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.76e-07/0.6971, allocations: 0 / 0.6791 GB, free: 5.301 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001015/0.6981, allocations: 267.3 kB / 0.6794 GB, free: 5.039 MB / 0.4948 GB 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * 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.001827/0.6999, allocations: 0.5651 MB / 0.6799 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002157/0.7021, allocations: 0.7513 MB / 0.6807 GB, free: 3.844 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.535e-06/0.7021, allocations: 4 kB / 0.6807 GB, free: 3.84 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.7033, allocations: 0.4885 MB / 0.6812 GB, free: 3.34 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.7047, allocations: 230.4 kB / 0.6814 GB, free: 3.121 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00515/0.7098, allocations: 2.057 MB / 0.6834 GB, free: 1.035 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008903/0.7108, allocations: 1.031 MB / 0.6844 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00116/0.7119, allocations: 258.2 kB / 0.6846 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003481/0.7123, allocations: 99.39 kB / 0.6847 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of SimCode: time 1.531e-06/0.7123, allocations: 0 / 0.6847 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of Templates: time 0.03291/0.7452, allocations: 12.73 MB / 0.6972 GB, free: 2.992 MB / 0.5105 GB