Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009092/0.0009092, allocations: 95.33 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009104/0.0009105, allocations: 175.2 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.2 MB / 240.5 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6429/0.6429, allocations: 113.8 MB / 405.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004378/0.0004379, allocations: 8 kB / 493 MB, free: 8.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1661, allocations: 77.16 MB / 0.5568 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004554/0.1707, allocations: 3.706 MB / 0.5605 GB, free: 7.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.5066/0.6773, allocations: 127.6 MB / 0.685 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008538/0.6782, allocations: 11.94 kB / 0.685 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000416/0.6787, allocations: 83.22 kB / 0.6851 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001872/0.6805, allocations: 0.491 MB / 0.6856 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001931/0.6825, allocations: 0.6367 MB / 0.6862 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001205/0.6837, allocations: 0.8456 MB / 0.687 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007041/0.6844, allocations: 478.9 kB / 0.6875 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004736/0.6849, allocations: 358.5 kB / 0.6878 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004457/0.6853, allocations: 358.2 kB / 0.6882 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.225e-05/0.6854, allocations: 27.94 kB / 0.6882 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008349/0.6863, allocations: 311.6 kB / 0.6885 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002047/0.6865, allocations: 187.2 kB / 0.6887 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.6867, allocations: 201.1 kB / 0.6889 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.6879, allocations: 1.174 MB / 0.69 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.6879, allocations: 4 kB / 0.69 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.688, allocations: 0 / 0.69 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.688, allocations: 0 / 0.69 GB, free: 1.238 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002345/0.6903, allocations: 1.258 MB / 0.6913 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.6904, allocations: 12.02 kB / 0.6913 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008789/0.6913, allocations: 202.4 kB / 0.6915 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.6925, allocations: 0.7271 MB / 0.6922 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.843e-05/0.6925, allocations: 66 kB / 0.6922 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.6927, allocations: 87.95 kB / 0.6923 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.6944, allocations: 0.9339 MB / 0.6932 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.6944, allocations: 4 kB / 0.6932 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.492e-05/0.6945, allocations: 32 kB / 0.6933 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/0.6946, allocations: 23.98 kB / 0.6933 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.6965, allocations: 1.132 MB / 0.6944 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004229/0.7007, allocations: 2.583 MB / 0.6969 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.7023, allocations: 0.9187 MB / 0.6978 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.787e-05/0.7024, allocations: 32.69 kB / 0.6978 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008482/0.7033, allocations: 0.5151 MB / 0.6983 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=85): time 2.264e-06/0.7033, allocations: 0 / 0.6983 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85): time 0.003155/0.7065, allocations: 1.264 MB / 0.6996 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.7066, allocations: 188.9 kB / 0.6998 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008216/0.7074, allocations: 0.6372 MB / 0.7004 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.836e-05/0.7075, allocations: 45.7 kB / 0.7004 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003951/0.7079, allocations: 400.4 kB / 0.7008 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/0.7081, allocations: 268.1 kB / 0.7011 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.7082, allocations: 16 kB / 0.7011 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002709/0.7085, allocations: 390.7 kB / 0.7015 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004929/0.709, allocations: 257.9 kB / 0.7017 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006008/0.7096, allocations: 371.4 kB / 0.7021 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005672/0.7101, allocations: 306.9 kB / 0.7023 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.7102, allocations: 0 / 0.7023 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001883/0.712, allocations: 0.8409 MB / 0.7032 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.7121, allocations: 11.95 kB / 0.7032 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.7121, allocations: 3.984 kB / 0.7032 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000563/0.7127, allocations: 96.77 kB / 0.7033 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006368/0.7133, allocations: 159.7 kB / 0.7034 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001966/0.7153, allocations: 1.532 MB / 0.7049 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006852/0.716, allocations: 95.33 kB / 0.705 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.719e-05/0.716, allocations: 39.97 kB / 0.7051 GB, free: 1.328 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.decAng.tNext,decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0005174/0.7166, allocations: 262.1 kB / 0.7053 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.7167, allocations: 90.91 kB / 0.7054 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002431/0.7191, allocations: 1.156 MB / 0.7065 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.7192, allocations: 8 kB / 0.7065 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.7192, allocations: 4 kB / 0.7065 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.7192, allocations: 3.984 kB / 0.7065 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003242/0.7224, allocations: 2.036 MB / 0.7085 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.7225, allocations: 0 / 0.7085 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005998/0.7231, allocations: 163.7 kB / 0.7087 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004902/0.7236, allocations: 84.73 kB / 0.7088 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.829e-05/0.7236, allocations: 27.97 kB / 0.7088 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/0.7254, allocations: 1.56 MB / 0.7103 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7255, allocations: 0 / 0.7103 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/0.7274, allocations: 1.058 MB / 0.7113 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004087/0.7278, allocations: 299.5 kB / 0.7116 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.728, allocations: 19.98 kB / 0.7116 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006568/0.7286, allocations: 84.75 kB / 0.7117 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.7288, allocations: 76.88 kB / 0.7118 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.047e-05/0.7289, allocations: 43.97 kB / 0.7118 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005311/0.7294, allocations: 459 kB / 0.7123 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7294, allocations: 0 / 0.7123 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008371/0.7302, allocations: 311.2 kB / 0.7126 GB, free: 9.359 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.00128/0.7315, allocations: 0.6169 MB / 0.7132 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00173/0.7333, allocations: 0.8354 MB / 0.714 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.7333, allocations: 0 / 0.714 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00093/0.7342, allocations: 0.5392 MB / 0.7145 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.7353, allocations: 251 kB / 0.7148 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004859/0.7402, allocations: 2.234 MB / 0.7169 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008342/0.7411, allocations: 1.071 MB / 0.718 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009248/0.742, allocations: 262.9 kB / 0.7182 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002994/0.7423, allocations: 107.4 kB / 0.7183 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of SimCode: time 1.252e-06/0.7423, allocations: 4 kB / 0.7183 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of Templates: time 0.02682/0.7692, allocations: 14.04 MB / 0.7321 GB, free: 5.699 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)