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.001344/0.001344, allocations: 114.8 kB / 17.08 MB, free: 5.789 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 196.6 kB / 18.02 MB, free: 4.918 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.267/1.267, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6763/0.6763, allocations: 115.3 MB / 407.2 MB, free: 6.082 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 65.22 kB / 0.5583 GB, free: 32.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1341, allocations: 76.19 MB / 0.6327 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005943/0.1401, allocations: 4.918 MB / 0.6375 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5245/0.6646, allocations: 150.6 MB / 0.7846 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.6657, allocations: 17.55 kB / 0.7847 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005914/0.6663, allocations: 199.3 kB / 0.7848 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001678/0.6681, allocations: 0.5578 MB / 0.7854 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.6699, allocations: 0.8546 MB / 0.7862 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001515/0.6714, allocations: 1.434 MB / 0.7876 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007764/0.6722, allocations: 0.584 MB / 0.7882 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007139/0.6729, allocations: 0.5044 MB / 0.7887 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000544/0.6735, allocations: 0.5183 MB / 0.7892 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.6736, allocations: 119.2 kB / 0.7893 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000932/0.6746, allocations: 495.2 kB / 0.7898 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002831/0.6749, allocations: 306.2 kB / 0.7901 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005227/0.6754, allocations: 0.5795 MB / 0.7906 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0017/0.6771, allocations: 1.667 MB / 0.7923 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.6771, allocations: 4 kB / 0.7923 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6771, allocations: 0 / 0.7923 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.637e-05/0.6771, allocations: 0 / 0.7923 GB, free: 13.14 MB / 0.5919 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.002507/0.6796, allocations: 1.46 MB / 0.7937 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.6797, allocations: 14.59 kB / 0.7937 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000896/0.6806, allocations: 190.9 kB / 0.7939 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.6817, allocations: 0.7742 MB / 0.7946 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.033e-05/0.6817, allocations: 60.41 kB / 0.7947 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.707e-05/0.6819, allocations: 83.25 kB / 0.7948 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.6833, allocations: 0.9512 MB / 0.7957 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.6834, allocations: 4 kB / 0.7957 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.157e-05/0.6835, allocations: 37.42 kB / 0.7958 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/0.6835, allocations: 21.03 kB / 0.7958 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/0.6851, allocations: 1.126 MB / 0.7969 GB, free: 11.76 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003822/0.6889, allocations: 2.735 MB / 0.7995 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/0.6904, allocations: 0.9241 MB / 0.8004 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005099/0.6909, allocations: 318.8 kB / 0.8008 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.065e-05/0.691, allocations: 30.91 kB / 0.8008 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008486/0.6918, allocations: 0.5181 MB / 0.8013 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 2.594e-06/0.6918, allocations: 2.812 kB / 0.8013 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.003099/0.6949, allocations: 1.261 MB / 0.8025 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.6951, allocations: 188.8 kB / 0.8027 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007421/0.6958, allocations: 0.6407 MB / 0.8033 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.482e-05/0.6959, allocations: 44.55 kB / 0.8034 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.6962, allocations: 406 kB / 0.8038 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002044/0.6964, allocations: 268.5 kB / 0.804 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002269/0.6966, allocations: 173.4 kB / 0.8042 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.6968, allocations: 393.1 kB / 0.8046 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005085/0.6973, allocations: 275.6 kB / 0.8048 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006049/0.6979, allocations: 393 kB / 0.8052 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.699, allocations: 0.6331 MB / 0.8058 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.699, allocations: 2.406 kB / 0.8058 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001804/0.7008, allocations: 0.8882 MB / 0.8067 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.7008, allocations: 6.125 kB / 0.8067 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.7009, allocations: 2.531 kB / 0.8067 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005537/0.7014, allocations: 82.56 kB / 0.8068 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006515/0.7021, allocations: 171 kB / 0.8069 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/0.7041, allocations: 1.633 MB / 0.8085 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008261/0.7049, allocations: 105.2 kB / 0.8086 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.738e-05/0.705, allocations: 33.92 kB / 0.8087 GB, free: 6.461 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005248/0.7056, allocations: 274.9 kB / 0.8089 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/0.7058, allocations: 87.97 kB / 0.809 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002343/0.7081, allocations: 1.135 MB / 0.8101 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.7081, allocations: 16.16 kB / 0.8101 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.7081, allocations: 4 kB / 0.8101 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.7082, allocations: 7.969 kB / 0.8101 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003397/0.7116, allocations: 2.019 MB / 0.8121 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.7116, allocations: 2.656 kB / 0.8121 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005748/0.7122, allocations: 157.7 kB / 0.8123 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000418/0.7126, allocations: 77.89 kB / 0.8123 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.923e-05/0.7127, allocations: 23.3 kB / 0.8124 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001844/0.7145, allocations: 1.667 MB / 0.814 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7145, allocations: 0 / 0.814 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002059/0.7166, allocations: 1.052 MB / 0.815 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004284/0.717, allocations: 281.8 kB / 0.8153 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.7172, allocations: 17 kB / 0.8153 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007065/0.7179, allocations: 69 kB / 0.8154 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.7181, allocations: 79.05 kB / 0.8154 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.462e-05/0.7181, allocations: 41.03 kB / 0.8155 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006034/0.7187, allocations: 461.4 kB / 0.8159 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7188, allocations: 0 / 0.8159 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000947/0.7197, allocations: 327.9 kB / 0.8162 GB, free: 1.617 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001385/0.7211, allocations: 0.617 MB / 0.8168 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001862/0.723, allocations: 0.8667 MB / 0.8177 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.723, allocations: 3.312 kB / 0.8177 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009545/0.724, allocations: 0.5476 MB / 0.8182 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.7253, allocations: 301.5 kB / 0.8185 GB, free: 432 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/0.7288, allocations: 1.735 MB / 0.8202 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008298/0.7296, allocations: 1.033 MB / 0.8212 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004004/0.73, allocations: 130.7 kB / 0.8213 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of SimCode: time 8.41e-07/0.7301, allocations: 4 kB / 0.8213 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of Templates: time 0.02664/0.7567, allocations: 19.07 MB / 0.84 GB, free: 14.71 MB / 0.6231 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)