Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009284/0.0009284, allocations: 77.09 kB / 20.65 MB, free: 3.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009977/0.0009977, allocations: 165 kB / 24.05 MB, free: 464 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9078/0.9078, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00165/0.00165, allocations: 245.4 kB / 261.3 MB, free: 12.65 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7271/0.7271, allocations: 138.4 MB / 456.3 MB, free: 1.348 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.5564 GB, free: 228 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/1.993e-05, allocations: 2.312 kB / 0.5564 GB, free: 224 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004959/0.004979, allocations: 4.572 MB / 0.5608 GB, free: 11.62 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3367/0.3417, allocations: 143.8 MB / 0.7013 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008874/0.3426, allocations: 23.81 kB / 0.7013 GB, free: 7.648 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005088/0.3431, allocations: 194.2 kB / 0.7015 GB, free: 7.457 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001484/0.3445, allocations: 0.5869 MB / 0.702 GB, free: 6.883 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.346, allocations: 0.8479 MB / 0.7029 GB, free: 6.059 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001085/0.3471, allocations: 1.417 MB / 0.7043 GB, free: 4.637 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005071/0.3476, allocations: 392.4 kB / 0.7046 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000815/0.3484, allocations: 0.7484 MB / 0.7054 GB, free: 3.484 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004124/0.3488, allocations: 362.9 kB / 0.7057 GB, free: 3.129 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 9.332e-05/0.3489, allocations: 104 kB / 0.7058 GB, free: 3.027 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007022/0.3496, allocations: 493.1 kB / 0.7063 GB, free: 2.551 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.3497, allocations: 275.1 kB / 0.7065 GB, free: 2.281 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001971/0.3499, allocations: 371 kB / 0.7069 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.3511, allocations: 1.203 MB / 0.7081 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3511, allocations: 0 / 0.7081 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3511, allocations: 0 / 0.7081 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.522e-05/0.3511, allocations: 0 / 0.7081 GB, free: 0.7109 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001407/0.3525, allocations: 1.49 MB / 0.7095 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.3525, allocations: 8.75 kB / 0.7095 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007989/0.3533, allocations: 315.6 kB / 0.7098 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007372/0.3541, allocations: 0.6993 MB / 0.7105 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.783e-05/0.3541, allocations: 62.56 kB / 0.7106 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-05/0.3542, allocations: 87.94 kB / 0.7107 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006965/0.3549, allocations: 0.8578 MB / 0.7115 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.3549, allocations: 0 / 0.7115 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.684e-05/0.3549, allocations: 40 kB / 0.7115 GB, free: 13 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.355, allocations: 23.98 kB / 0.7116 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006233/0.3556, allocations: 0.6688 MB / 0.7122 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00197/0.3576, allocations: 2.042 MB / 0.7142 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005231/0.3581, allocations: 430.9 kB / 0.7146 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003681/0.3584, allocations: 133.6 kB / 0.7147 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.358e-05/0.3585, allocations: 32.62 kB / 0.7148 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003505/0.3589, allocations: 452.5 kB / 0.7152 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=79): time 1.593e-06/0.3589, allocations: 0 / 0.7152 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of matching and sorting (n=79): time 0.001201/0.3601, allocations: 0.7155 MB / 0.7159 GB, free: 8.406 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.3601, allocations: 188.6 kB / 0.7161 GB, free: 8.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003536/0.3605, allocations: 0.5539 MB / 0.7166 GB, free: 7.609 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.518e-05/0.3605, allocations: 41.7 kB / 0.7167 GB, free: 7.562 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/0.3607, allocations: 455.6 kB / 0.7171 GB, free: 7.109 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.3609, allocations: 273.7 kB / 0.7174 GB, free: 6.84 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.361, allocations: 168.2 kB / 0.7175 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3612, allocations: 0.5585 MB / 0.7181 GB, free: 6.094 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.3613, allocations: 105.9 kB / 0.7182 GB, free: 5.992 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.3615, allocations: 333.7 kB / 0.7185 GB, free: 5.617 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/0.3618, allocations: 321.2 kB / 0.7188 GB, free: 5.285 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3618, allocations: 0 / 0.7188 GB, free: 5.285 MB / 0.5261 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0007482/0.3626, allocations: 0.5592 MB / 0.7193 GB, free: 4.715 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3626, allocations: 8 kB / 0.7193 GB, free: 4.707 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3626, allocations: 0.7812 kB / 0.7193 GB, free: 4.707 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000419/0.363, allocations: 127.5 kB / 0.7195 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.3633, allocations: 151.8 kB / 0.7196 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.3645, allocations: 1.877 MB / 0.7214 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.3648, allocations: 68.36 kB / 0.7215 GB, free: 2.371 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.3648, allocations: 39.84 kB / 0.7215 GB, free: 2.332 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * 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 (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.0004438/0.3653, allocations: 210.4 kB / 0.7217 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.3654, allocations: 103.5 kB / 0.7218 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009424/0.3663, allocations: 0.755 MB / 0.7226 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.3663, allocations: 12 kB / 0.7226 GB, free: 1.242 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.3663, allocations: 0 / 0.7226 GB, free: 1.242 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3663, allocations: 3.984 kB / 0.7226 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.3677, allocations: 1.24 MB / 0.7238 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3677, allocations: 0 / 0.7238 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/0.368, allocations: 139.7 kB / 0.7239 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003173/0.3683, allocations: 119.6 kB / 0.7241 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.3683, allocations: 23.98 kB / 0.7241 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.3694, allocations: 1.885 MB / 0.7259 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/0.3694, allocations: 3.938 kB / 0.7259 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008119/0.3702, allocations: 0.7751 MB / 0.7267 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002216/0.3704, allocations: 187.1 kB / 0.7269 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.446e-05/0.3705, allocations: 16 kB / 0.7269 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.3707, allocations: 35.97 kB / 0.7269 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.999e-05/0.3708, allocations: 72.81 kB / 0.727 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.03e-05/0.3708, allocations: 31.97 kB / 0.727 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002144/0.371, allocations: 354.9 kB / 0.7273 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.1e-08/0.371, allocations: 0 / 0.7273 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006298/0.3716, allocations: 335.1 kB / 0.7277 GB, free: 11.87 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001091/0.3727, allocations: 0.6245 MB / 0.7283 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006566/0.3734, allocations: 0.5736 MB / 0.7288 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3734, allocations: 0 / 0.7288 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006109/0.374, allocations: 441.2 kB / 0.7293 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006807/0.3747, allocations: 325.8 kB / 0.7296 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.3766, allocations: 1.475 MB / 0.731 GB, free: 8.652 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.3767, allocations: 183.2 kB / 0.7312 GB, free: 8.449 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003866/0.3771, allocations: 190.5 kB / 0.7314 GB, free: 8.258 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005021/0.3776, allocations: 361.9 kB / 0.7317 GB, free: 7.902 MB / 0.5417 GB Notification: Performance of SimCode: time 7.82e-07/0.3776, allocations: 0 / 0.7317 GB, free: 7.902 MB / 0.5417 GB Notification: Performance of Templates: time 0.01938/0.397, allocations: 16.45 MB / 0.7478 GB, free: 7.773 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.312064111698419]