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.002492/0.002492, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.002965/0.002965, allocations: 173.6 kB / 22.76 MB, free: 1.664 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 1.557/1.557, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.003311/0.003311, allocations: 237.2 kB / 259.8 MB, free: 12.85 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 1.173/1.173, allocations: 138.4 MB / 454.7 MB, free: 1.48 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 1.303e-06/1.303e-06, allocations: 0 / 0.5543 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.642e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.875 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007738/0.007764, allocations: 4.736 MB / 0.5589 GB, free: 12.11 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3572/0.365, allocations: 146.3 MB / 0.7018 GB, free: 5.934 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008375/0.3658, allocations: 23.81 kB / 0.7018 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006697/0.3665, allocations: 205.4 kB / 0.702 GB, free: 5.711 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001727/0.3682, allocations: 0.5878 MB / 0.7026 GB, free: 5.137 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001729/0.3699, allocations: 0.8716 MB / 0.7034 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001245/0.3712, allocations: 1.483 MB / 0.7049 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006802/0.3719, allocations: 397.8 kB / 0.7053 GB, free: 2.391 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.3729, allocations: 0.7563 MB / 0.706 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005806/0.3735, allocations: 414.8 kB / 0.7064 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001998/0.3737, allocations: 120 kB / 0.7065 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008119/0.3745, allocations: 0.4934 MB / 0.707 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.000231/0.3747, allocations: 307 kB / 0.7073 GB, free: 328 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0005308/0.3752, allocations: 403 kB / 0.7077 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.00288/0.3781, allocations: 1.81 MB / 0.7094 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3781, allocations: 4 kB / 0.7095 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3781, allocations: 0 / 0.7095 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.721e-05/0.3782, allocations: 0 / 0.7095 GB, free: 14.11 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.003657/0.3818, allocations: 1.621 MB / 0.711 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3819, allocations: 8.75 kB / 0.711 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001946/0.3838, allocations: 351.5 kB / 0.7114 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/0.3854, allocations: 0.7287 MB / 0.7121 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-05/0.3855, allocations: 66.56 kB / 0.7122 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.3856, allocations: 95.92 kB / 0.7122 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/0.388, allocations: 1.224 MB / 0.7134 GB, free: 9.836 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/0.3881, allocations: 0 / 0.7134 GB, free: 9.836 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.3882, allocations: 36 kB / 0.7135 GB, free: 9.801 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.957e-05/0.3882, allocations: 24 kB / 0.7135 GB, free: 9.777 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002307/0.3905, allocations: 1.038 MB / 0.7145 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005433/0.3959, allocations: 2.944 MB / 0.7174 GB, free: 5.695 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.3976, allocations: 0.702 MB / 0.7181 GB, free: 4.992 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005947/0.3982, allocations: 262 kB / 0.7183 GB, free: 4.727 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.3983, allocations: 28.64 kB / 0.7183 GB, free: 4.699 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001125/0.3994, allocations: 0.6354 MB / 0.719 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=84): time 2.845e-06/0.3994, allocations: 0 / 0.719 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=84): time 0.003592/0.403, allocations: 1.101 MB / 0.72 GB, free: 2.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/0.4032, allocations: 192.9 kB / 0.7202 GB, free: 2.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.4043, allocations: 0.769 MB / 0.721 GB, free: 1.898 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.755e-05/0.4044, allocations: 41.7 kB / 0.721 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004955/0.4049, allocations: 495.8 kB / 0.7215 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003368/0.4052, allocations: 297.6 kB / 0.7218 GB, free: 1.066 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000366/0.4056, allocations: 204.2 kB / 0.722 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004148/0.406, allocations: 0.6094 MB / 0.7226 GB, free: 240 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006881/0.4067, allocations: 225.9 kB / 0.7228 GB, free: 16 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008586/0.4076, allocations: 497.9 kB / 0.7233 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.4088, allocations: 0.5611 MB / 0.7238 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.4088, allocations: 7.938 kB / 0.7238 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002267/0.4111, allocations: 0.8286 MB / 0.7246 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.4111, allocations: 4 kB / 0.7246 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.4111, allocations: 4 kB / 0.7246 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.4122, allocations: 135.7 kB / 0.7248 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007315/0.4129, allocations: 163.8 kB / 0.7249 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002861/0.4157, allocations: 2.033 MB / 0.7269 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007006/0.4164, allocations: 79.53 kB / 0.727 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.629e-05/0.4165, allocations: 35.97 kB / 0.727 GB, free: 11.47 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.0005176/0.4171, allocations: 278.5 kB / 0.7273 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002849/0.4173, allocations: 119.4 kB / 0.7274 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0028/0.4201, allocations: 1.057 MB / 0.7284 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.4202, allocations: 12 kB / 0.7284 GB, free: 9.996 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4202, allocations: 0 / 0.7284 GB, free: 9.996 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.4202, allocations: 4.734 kB / 0.7284 GB, free: 9.992 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004138/0.4243, allocations: 1.873 MB / 0.7303 GB, free: 8.074 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.4243, allocations: 3.938 kB / 0.7303 GB, free: 8.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006618/0.425, allocations: 155.7 kB / 0.7304 GB, free: 7.918 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008224/0.4258, allocations: 123.6 kB / 0.7305 GB, free: 7.793 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.231e-05/0.4259, allocations: 33.34 kB / 0.7306 GB, free: 7.762 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002611/0.4285, allocations: 2.062 MB / 0.7326 GB, free: 5.574 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4285, allocations: 0 / 0.7326 GB, free: 5.574 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/0.431, allocations: 1.084 MB / 0.7336 GB, free: 4.465 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005559/0.4315, allocations: 203.8 kB / 0.7338 GB, free: 4.266 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/0.4317, allocations: 24.03 kB / 0.7339 GB, free: 4.242 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006326/0.4323, allocations: 49.36 kB / 0.7339 GB, free: 4.195 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002061/0.4325, allocations: 84.78 kB / 0.734 GB, free: 4.113 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.423e-05/0.4326, allocations: 35.98 kB / 0.734 GB, free: 4.078 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007826/0.4334, allocations: 0.4912 MB / 0.7345 GB, free: 3.594 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.4334, allocations: 0 / 0.7345 GB, free: 3.594 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001105/0.4345, allocations: 343.1 kB / 0.7348 GB, free: 3.258 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.0036/0.4381, allocations: 0.6631 MB / 0.7355 GB, free: 2.863 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001957/0.4401, allocations: 0.8585 MB / 0.7363 GB, free: 1.984 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4401, allocations: 0 / 0.7363 GB, free: 1.984 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.4412, allocations: 0.5987 MB / 0.7369 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.4428, allocations: 337.6 kB / 0.7372 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003504/0.4463, allocations: 1.671 MB / 0.7389 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005685/0.4469, allocations: 445.2 kB / 0.7393 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008009/0.4477, allocations: 260 kB / 0.7395 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003337/0.448, allocations: 116.4 kB / 0.7396 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of SimCode: time 1.102e-06/0.448, allocations: 0 / 0.7396 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of Templates: time 0.03195/0.4799, allocations: 15.86 MB / 0.7551 GB, free: 14.98 MB / 0.573 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: 6.955656438018195]