Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002155/0.002155, allocations: 187.3 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.7102/0.7102, allocations: 82.94 MB / 99.43 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.177/2.177, allocations: 205.4 MB / 325.4 MB, free: 6.527 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.000995/0.0009946, allocations: 98.09 kB / 393.6 MB, free: 11.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008087/0.000809, allocations: 12 kB / 471.6 MB, free: 13.31 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.4215, allocations: 67.42 MB / 0.5263 GB, free: 55.56 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004743/0.4263, allocations: 3.475 MB / 0.5297 GB, free: 53.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1765/0.6028, allocations: 127.2 MB / 0.654 GB, free: 15.85 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008541/0.6037, allocations: 23.88 kB / 0.654 GB, free: 15.83 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003804/0.6041, allocations: 67.39 kB / 0.654 GB, free: 15.76 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001871/0.606, allocations: 434.3 kB / 0.6545 GB, free: 15.34 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002253/0.6083, allocations: 0.5866 MB / 0.655 GB, free: 14.76 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001674/0.61, allocations: 0.7402 MB / 0.6558 GB, free: 14.02 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009064/0.6109, allocations: 459 kB / 0.6562 GB, free: 13.56 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006367/0.6116, allocations: 306.7 kB / 0.6565 GB, free: 13.26 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004854/0.6121, allocations: 290.4 kB / 0.6568 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.646e-05/0.6122, allocations: 20 kB / 0.6568 GB, free: 12.96 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007756/0.613, allocations: 243.7 kB / 0.657 GB, free: 12.72 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002332/0.6133, allocations: 163.3 kB / 0.6572 GB, free: 12.56 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002318/0.6135, allocations: 181.1 kB / 0.6573 GB, free: 12.38 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00171/0.6152, allocations: 1.009 MB / 0.6583 GB, free: 11.36 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.881e-06/0.6153, allocations: 0 / 0.6583 GB, free: 11.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.6153, allocations: 3.938 kB / 0.6583 GB, free: 11.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.6153, allocations: 0 / 0.6583 GB, free: 11.36 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002412/0.6177, allocations: 1.114 MB / 0.6594 GB, free: 10.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.6178, allocations: 16.03 kB / 0.6594 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.6189, allocations: 182.5 kB / 0.6596 GB, free: 10 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.6204, allocations: 0.6797 MB / 0.6603 GB, free: 9.281 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-05/0.6205, allocations: 61.95 kB / 0.6603 GB, free: 9.219 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.6207, allocations: 76 kB / 0.6604 GB, free: 9.145 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/0.6227, allocations: 0.8442 MB / 0.6612 GB, free: 8.262 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/0.6228, allocations: 7.938 kB / 0.6612 GB, free: 8.254 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.6229, allocations: 32 kB / 0.6613 GB, free: 8.223 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/0.6229, allocations: 20 kB / 0.6613 GB, free: 8.203 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00246/0.6254, allocations: 1.057 MB / 0.6623 GB, free: 7.145 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005356/0.6308, allocations: 2.375 MB / 0.6646 GB, free: 4.703 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/0.6328, allocations: 0.8062 MB / 0.6654 GB, free: 3.871 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.873e-05/0.633, allocations: 28.67 kB / 0.6655 GB, free: 3.844 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/0.634, allocations: 431.2 kB / 0.6659 GB, free: 3.406 MB / 490.7 MB Notification: Performance of pre-optimization done (n=73): time 3.954e-06/0.6341, allocations: 3.938 kB / 0.6659 GB, free: 3.402 MB / 490.7 MB Notification: Performance of matching and sorting (n=73): time 0.003868/0.638, allocations: 1.089 MB / 0.6669 GB, free: 2.281 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/0.6381, allocations: 196.5 kB / 0.6671 GB, free: 2.047 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.6392, allocations: 0.5627 MB / 0.6677 GB, free: 1.473 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001232/0.6393, allocations: 41.7 kB / 0.6677 GB, free: 1.426 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004277/0.6398, allocations: 372.2 kB / 0.6681 GB, free: 1.055 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002921/0.6401, allocations: 236.5 kB / 0.6683 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.978e-05/0.6401, allocations: 16 kB / 0.6683 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002307/0.6404, allocations: 378.8 kB / 0.6687 GB, free: 436 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006519/0.6411, allocations: 217.2 kB / 0.6689 GB, free: 216 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007878/0.6419, allocations: 314.8 kB / 0.6692 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007954/0.6427, allocations: 263.2 kB / 0.6694 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/0.6427, allocations: 11.95 kB / 0.6694 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002379/0.6451, allocations: 0.7197 MB / 0.6701 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.6452, allocations: 8 kB / 0.6701 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.639e-06/0.6452, allocations: 0 / 0.6701 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006803/0.6459, allocations: 84.86 kB / 0.6702 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008087/0.6467, allocations: 135.8 kB / 0.6704 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002713/0.6494, allocations: 1.549 MB / 0.6719 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007826/0.6502, allocations: 81.03 kB / 0.6719 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.944e-05/0.6503, allocations: 35.98 kB / 0.672 GB, free: 12.86 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 (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.0005721/0.6509, allocations: 251.5 kB / 0.6722 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.6511, allocations: 75.06 kB / 0.6723 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003102/0.6542, allocations: 1.017 MB / 0.6733 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/0.6543, allocations: 11.95 kB / 0.6733 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.282e-06/0.6543, allocations: 4 kB / 0.6733 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.65e-05/0.6543, allocations: 7.984 kB / 0.6733 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0045/0.6588, allocations: 1.862 MB / 0.6751 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.6589, allocations: 3.984 kB / 0.6751 GB, free: 9.555 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008003/0.6597, allocations: 147.8 kB / 0.6753 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006216/0.6603, allocations: 84.77 kB / 0.6754 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.129e-05/0.6604, allocations: 23.98 kB / 0.6754 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002564/0.663, allocations: 1.548 MB / 0.6769 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.118e-05/0.6631, allocations: 3.938 kB / 0.6769 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00266/0.6657, allocations: 0.9258 MB / 0.6778 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005631/0.6663, allocations: 271.8 kB / 0.6781 GB, free: 6.375 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.6665, allocations: 16 kB / 0.6781 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007472/0.6672, allocations: 75.83 kB / 0.6781 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.6674, allocations: 68.84 kB / 0.6782 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.6675, allocations: 27.98 kB / 0.6782 GB, free: 6.191 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000758/0.6683, allocations: 419.1 kB / 0.6786 GB, free: 5.789 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.54e-07/0.6683, allocations: 0 / 0.6786 GB, free: 5.789 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001025/0.6694, allocations: 271.2 kB / 0.6789 GB, free: 5.523 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.001851/0.6712, allocations: 0.5474 MB / 0.6794 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002091/0.6734, allocations: 0.7238 MB / 0.6801 GB, free: 4.383 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.6734, allocations: 0 / 0.6801 GB, free: 4.383 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.6746, allocations: 0.4887 MB / 0.6806 GB, free: 3.883 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.676, allocations: 243.9 kB / 0.6808 GB, free: 3.652 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00506/0.6811, allocations: 2.046 MB / 0.6828 GB, free: 1.578 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008627/0.682, allocations: 1.019 MB / 0.6838 GB, free: 0.5352 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001179/0.6832, allocations: 242.1 kB / 0.6841 GB, free: 304 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003367/0.6835, allocations: 103.4 kB / 0.6842 GB, free: 200 kB / 0.4948 GB Notification: Performance of SimCode: time 1.466e-06/0.6835, allocations: 0 / 0.6842 GB, free: 200 kB / 0.4948 GB Notification: Performance of Templates: time 0.03215/0.7157, allocations: 12.49 MB / 0.6964 GB, free: 3.801 MB / 0.5105 GB