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.001251/0.001251, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.0009268/0.0009268, allocations: 170 kB / 23.27 MB, free: 1.223 MB / 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.8598/0.8598, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.001691/0.001691, allocations: 229.2 kB / 260.5 MB, free: 12.68 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.6976/0.6976, allocations: 138.4 MB / 455.5 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.643e-06/1.643e-06, allocations: 0 / 0.5556 GB, free: 228 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.718e-05/1.883e-05, allocations: 2.312 kB / 0.5556 GB, free: 224 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004538/0.004556, allocations: 4.576 MB / 0.5601 GB, free: 11.62 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.283/0.2876, allocations: 143.8 MB / 0.7005 GB, free: 7.684 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006112/0.2882, allocations: 19.81 kB / 0.7005 GB, free: 7.664 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0004415/0.2887, allocations: 202.2 kB / 0.7007 GB, free: 7.465 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001145/0.2898, allocations: 0.5757 MB / 0.7013 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.291, allocations: 0.8557 MB / 0.7021 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00082/0.2918, allocations: 1.413 MB / 0.7035 GB, free: 4.652 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004552/0.2923, allocations: 384.4 kB / 0.7039 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000697/0.293, allocations: 0.7562 MB / 0.7046 GB, free: 3.5 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.2932, allocations: 363.4 kB / 0.7049 GB, free: 3.145 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 8.019e-05/0.2933, allocations: 104 kB / 0.705 GB, free: 3.043 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000563/0.2939, allocations: 489.2 kB / 0.7055 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.294, allocations: 283 kB / 0.7058 GB, free: 2.293 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.2942, allocations: 363 kB / 0.7061 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0008465/0.295, allocations: 1.206 MB / 0.7073 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.295, allocations: 0 / 0.7073 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.643e-06/0.295, allocations: 0 / 0.7073 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.295, allocations: 0 / 0.7073 GB, free: 0.7266 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.001259/0.2963, allocations: 1.49 MB / 0.7088 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.2963, allocations: 12.73 kB / 0.7088 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007431/0.2971, allocations: 315.6 kB / 0.7091 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006497/0.2977, allocations: 0.6915 MB / 0.7097 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.82e-05/0.2977, allocations: 66.56 kB / 0.7098 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.907e-05/0.2978, allocations: 87.94 kB / 0.7099 GB, free: 14 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000679/0.2985, allocations: 0.8578 MB / 0.7107 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.2985, allocations: 0 / 0.7107 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.552e-05/0.2986, allocations: 39.98 kB / 0.7108 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.2986, allocations: 20 kB / 0.7108 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005942/0.2992, allocations: 0.665 MB / 0.7114 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001858/0.301, allocations: 2.045 MB / 0.7134 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005084/0.3015, allocations: 426.9 kB / 0.7138 GB, free: 9.812 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.3017, allocations: 144.8 kB / 0.714 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.638e-05/0.3017, allocations: 50.19 kB / 0.714 GB, free: 9.633 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003552/0.3021, allocations: 455.4 kB / 0.7145 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=79): time 1.904e-06/0.3021, allocations: 0 / 0.7145 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of matching and sorting (n=79): time 0.001182/0.3033, allocations: 0.7116 MB / 0.7152 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.3033, allocations: 192.6 kB / 0.7153 GB, free: 8.191 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/0.3037, allocations: 0.5461 MB / 0.7159 GB, free: 7.629 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/0.3037, allocations: 45.7 kB / 0.7159 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.304, allocations: 451.6 kB / 0.7163 GB, free: 7.129 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.3041, allocations: 277.7 kB / 0.7166 GB, free: 6.855 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.3042, allocations: 172.2 kB / 0.7168 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3044, allocations: 0.5624 MB / 0.7173 GB, free: 6.102 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.3045, allocations: 97.91 kB / 0.7174 GB, free: 6.008 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.3047, allocations: 333.7 kB / 0.7177 GB, free: 5.633 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003214/0.3051, allocations: 310.3 kB / 0.718 GB, free: 5.312 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3051, allocations: 3.938 kB / 0.718 GB, free: 5.309 MB / 0.5261 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0007136/0.3058, allocations: 0.563 MB / 0.7186 GB, free: 4.734 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3058, allocations: 4 kB / 0.7186 GB, free: 4.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.3058, allocations: 4 kB / 0.7186 GB, free: 4.727 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003882/0.3062, allocations: 131.6 kB / 0.7187 GB, free: 4.594 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003078/0.3065, allocations: 151.8 kB / 0.7189 GB, free: 4.445 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/0.3076, allocations: 1.87 MB / 0.7207 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.3079, allocations: 76.38 kB / 0.7208 GB, free: 2.387 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/0.3079, allocations: 35.91 kB / 0.7208 GB, free: 2.352 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.0001701/0.3081, allocations: 206.4 kB / 0.721 GB, free: 2.141 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.3082, allocations: 103.5 kB / 0.7211 GB, free: 2.039 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009104/0.3091, allocations: 0.7645 MB / 0.7218 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3091, allocations: 8 kB / 0.7218 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.3091, allocations: 0 / 0.7218 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-06/0.3091, allocations: 3.984 kB / 0.7218 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.3104, allocations: 1.249 MB / 0.7231 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.3104, allocations: 3.984 kB / 0.7231 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002768/0.3106, allocations: 135.8 kB / 0.7232 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003079/0.311, allocations: 111.6 kB / 0.7233 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/0.311, allocations: 28.48 kB / 0.7233 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000956/0.3119, allocations: 1.89 MB / 0.7252 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3119, allocations: 3.938 kB / 0.7252 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007649/0.3127, allocations: 0.7673 MB / 0.7259 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/0.3129, allocations: 187.3 kB / 0.7261 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.914e-05/0.313, allocations: 23.98 kB / 0.7261 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.3132, allocations: 35.97 kB / 0.7262 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.978e-05/0.3133, allocations: 68.86 kB / 0.7262 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.861e-05/0.3133, allocations: 27.98 kB / 0.7263 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002095/0.3135, allocations: 362.8 kB / 0.7266 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3135, allocations: 4 kB / 0.7266 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005418/0.3141, allocations: 327.1 kB / 0.7269 GB, free: 11.88 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.001098/0.3152, allocations: 0.6232 MB / 0.7275 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000633/0.3158, allocations: 0.5853 MB / 0.7281 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3158, allocations: 0 / 0.7281 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003466/0.3161, allocations: 437 kB / 0.7285 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006401/0.3168, allocations: 321.1 kB / 0.7288 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.3186, allocations: 1.469 MB / 0.7303 GB, free: 8.648 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.3187, allocations: 191.2 kB / 0.7304 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000359/0.3191, allocations: 186.4 kB / 0.7306 GB, free: 8.25 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005/0.3196, allocations: 361.9 kB / 0.731 GB, free: 7.895 MB / 0.5417 GB Notification: Performance of SimCode: time 6.31e-07/0.3196, allocations: 0 / 0.731 GB, free: 7.895 MB / 0.5417 GB Notification: Performance of Templates: time 0.018/0.3376, allocations: 16.22 MB / 0.7468 GB, free: 7.988 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.104009807109833]