Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.0009337/0.0009337, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001019/0.001019, allocations: 173 kB / 23.5 MB, free: 1.051 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.9624/0.9624, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.001709/0.001709, allocations: 251.9 kB / 260.5 MB, free: 12.86 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.7164/0.7164, allocations: 138.4 MB / 455.4 MB, free: 1.551 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.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.555 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.85e-05, allocations: 5.547 kB / 0.555 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007126/0.007154, allocations: 4.77 MB / 0.5597 GB, free: 12.1 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.2968/0.304, allocations: 146.3 MB / 0.7026 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005993/0.3046, allocations: 23.81 kB / 0.7026 GB, free: 5.855 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0004527/0.305, allocations: 202.1 kB / 0.7028 GB, free: 5.656 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001089/0.3061, allocations: 0.5836 MB / 0.7034 GB, free: 5.086 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.3073, allocations: 0.8766 MB / 0.7042 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0008164/0.3081, allocations: 1.483 MB / 0.7057 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004431/0.3085, allocations: 401.9 kB / 0.706 GB, free: 2.332 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005829/0.3091, allocations: 0.7523 MB / 0.7068 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003263/0.3094, allocations: 418.8 kB / 0.7072 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 9.794e-05/0.3095, allocations: 120 kB / 0.7073 GB, free: 1.051 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004963/0.31, allocations: 0.4897 MB / 0.7078 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.3102, allocations: 314.9 kB / 0.7081 GB, free: 264 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002581/0.3104, allocations: 395 kB / 0.7084 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.3115, allocations: 1.292 MB / 0.7097 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3115, allocations: 0 / 0.7097 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3115, allocations: 0 / 0.7097 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.381e-05/0.3115, allocations: 0 / 0.7097 GB, free: 14.57 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.001565/0.3131, allocations: 1.527 MB / 0.7112 GB, free: 13 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.3131, allocations: 12.75 kB / 0.7112 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.3141, allocations: 355.4 kB / 0.7116 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007527/0.3149, allocations: 0.7208 MB / 0.7123 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/0.3149, allocations: 70 kB / 0.7123 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.148e-05/0.315, allocations: 87.94 kB / 0.7124 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009328/0.3159, allocations: 1.021 MB / 0.7134 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.3159, allocations: 0 / 0.7134 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.649e-05/0.316, allocations: 36 kB / 0.7134 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.316, allocations: 24 kB / 0.7135 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.3171, allocations: 0.7958 MB / 0.7142 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002178/0.3193, allocations: 2.244 MB / 0.7164 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000754/0.3201, allocations: 0.4892 MB / 0.7169 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002388/0.3203, allocations: 173.5 kB / 0.7171 GB, free: 6.781 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.999e-05/0.3204, allocations: 28.64 kB / 0.7171 GB, free: 6.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004722/0.3208, allocations: 0.4924 MB / 0.7176 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=84): time 2.204e-06/0.3208, allocations: 0 / 0.7176 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of matching and sorting (n=84): time 0.001599/0.3224, allocations: 0.8586 MB / 0.7184 GB, free: 5.344 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.3225, allocations: 192.9 kB / 0.7186 GB, free: 5.113 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000463/0.3229, allocations: 0.5893 MB / 0.7192 GB, free: 4.512 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.623e-05/0.323, allocations: 41.7 kB / 0.7192 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.3232, allocations: 459.8 kB / 0.7197 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.3234, allocations: 293.5 kB / 0.7199 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.3235, allocations: 176.2 kB / 0.7201 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.3237, allocations: 0.5586 MB / 0.7207 GB, free: 2.969 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.3239, allocations: 137.9 kB / 0.7208 GB, free: 2.832 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004504/0.3244, allocations: 373.8 kB / 0.7211 GB, free: 2.418 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005055/0.3249, allocations: 390.6 kB / 0.7215 GB, free: 2.02 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3249, allocations: 3.938 kB / 0.7215 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.0009796/0.3259, allocations: 0.6567 MB / 0.7222 GB, free: 1.348 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.3259, allocations: 8 kB / 0.7222 GB, free: 1.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3259, allocations: 0 / 0.7222 GB, free: 1.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004705/0.3263, allocations: 127.7 kB / 0.7223 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/0.3267, allocations: 167.8 kB / 0.7224 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/0.328, allocations: 1.902 MB / 0.7243 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003043/0.3283, allocations: 83.56 kB / 0.7244 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-05/0.3283, allocations: 35.97 kB / 0.7244 GB, free: 14.9 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (99): * Single equations (assignments): 98 * 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.0001936/0.3285, allocations: 206.6 kB / 0.7246 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.3286, allocations: 111.5 kB / 0.7247 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/0.3299, allocations: 0.89 MB / 0.7256 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3299, allocations: 8 kB / 0.7256 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.3299, allocations: 0 / 0.7256 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.3299, allocations: 3.984 kB / 0.7256 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.3316, allocations: 1.509 MB / 0.7271 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3316, allocations: 0 / 0.7271 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003184/0.3319, allocations: 151.8 kB / 0.7272 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003492/0.3323, allocations: 115.5 kB / 0.7273 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-05/0.3323, allocations: 39.91 kB / 0.7274 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/0.3336, allocations: 1.916 MB / 0.7292 GB, free: 9.773 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3336, allocations: 0 / 0.7292 GB, free: 9.773 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.3346, allocations: 0.896 MB / 0.7301 GB, free: 8.855 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002458/0.3349, allocations: 207.1 kB / 0.7303 GB, free: 8.652 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.368e-05/0.3349, allocations: 20 kB / 0.7303 GB, free: 8.633 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002832/0.3352, allocations: 53.3 kB / 0.7304 GB, free: 8.582 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.3353, allocations: 84.78 kB / 0.7305 GB, free: 8.496 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.677e-05/0.3354, allocations: 39.97 kB / 0.7305 GB, free: 8.457 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002965/0.3357, allocations: 399 kB / 0.7309 GB, free: 8.074 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.3357, allocations: 0 / 0.7309 GB, free: 8.074 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005423/0.3362, allocations: 343.1 kB / 0.7312 GB, free: 7.738 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: 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 (99): * Single equations (assignments): 92 * 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.001151/0.3374, allocations: 0.6299 MB / 0.7318 GB, free: 7.352 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008547/0.3382, allocations: 0.6632 MB / 0.7325 GB, free: 6.672 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3382, allocations: 4 kB / 0.7325 GB, free: 6.668 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000468/0.3387, allocations: 489.2 kB / 0.7329 GB, free: 6.172 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007037/0.3394, allocations: 328.1 kB / 0.7333 GB, free: 5.887 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.3415, allocations: 1.574 MB / 0.7348 GB, free: 4.273 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.3416, allocations: 195.9 kB / 0.735 GB, free: 4.059 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005912/0.3422, allocations: 260.4 kB / 0.7352 GB, free: 3.801 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.3424, allocations: 112.4 kB / 0.7353 GB, free: 3.691 MB / 0.5417 GB Notification: Performance of SimCode: time 9.22e-07/0.3424, allocations: 0 / 0.7353 GB, free: 3.691 MB / 0.5417 GB Notification: Performance of Templates: time 0.0174/0.3598, allocations: 15.87 MB / 0.7508 GB, free: 4.117 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.324351225048304]