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.0008356/0.0008356, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0008684/0.0008684, allocations: 181 kB / 23.36 MB, free: 1.133 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.8824/0.8824, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.001653/0.001653, allocations: 241.5 kB / 260.5 MB, free: 12.69 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.672/0.672, allocations: 138.4 MB / 402.2 MB, free: 0.5195 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.493e-06/1.493e-06, allocations: 0 / 462.3 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11e-05/1.259e-05, allocations: 3.078 kB / 462.3 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006162/0.006175, allocations: 4.709 MB / 467 MB, free: 13.78 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1172/0.1234, allocations: 146 MB / 0.5987 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000707/0.1241, allocations: 23.81 kB / 0.5987 GB, free: 11.61 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.000451/0.1246, allocations: 206.1 kB / 0.5989 GB, free: 11.4 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001174/0.1257, allocations: 0.5986 MB / 0.5995 GB, free: 10.8 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.127, allocations: 0.8742 MB / 0.6003 GB, free: 9.926 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0009652/0.128, allocations: 1.482 MB / 0.6018 GB, free: 8.441 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000454/0.1284, allocations: 415.3 kB / 0.6022 GB, free: 8.008 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006762/0.1291, allocations: 0.7913 MB / 0.6029 GB, free: 7.215 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003291/0.1294, allocations: 386.8 kB / 0.6033 GB, free: 6.836 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.772e-05/0.1295, allocations: 108 kB / 0.6034 GB, free: 6.73 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004979/0.13, allocations: 483.4 kB / 0.6039 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001719/0.1302, allocations: 302.9 kB / 0.6042 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002342/0.1304, allocations: 383 kB / 0.6045 GB, free: 5.586 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0008984/0.1313, allocations: 1.245 MB / 0.6057 GB, free: 4.336 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1313, allocations: 0 / 0.6057 GB, free: 4.336 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1313, allocations: 4 kB / 0.6058 GB, free: 4.332 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.1313, allocations: 0 / 0.6058 GB, free: 4.332 MB / 0.5573 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.001237/0.1326, allocations: 1.386 MB / 0.6071 GB, free: 2.922 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 2.782e-05/0.1326, allocations: 12.75 kB / 0.6071 GB, free: 2.91 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007947/0.1334, allocations: 320.7 kB / 0.6074 GB, free: 2.598 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006079/0.134, allocations: 0.5901 MB / 0.608 GB, free: 1.98 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.812e-05/0.134, allocations: 66.12 kB / 0.6081 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-05/0.1341, allocations: 84 kB / 0.6081 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006175/0.1347, allocations: 0.8719 MB / 0.609 GB, free: 0.875 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.1347, allocations: 4 kB / 0.609 GB, free: 0.8711 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.427e-05/0.1348, allocations: 39.94 kB / 0.609 GB, free: 0.832 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.1348, allocations: 21.56 kB / 0.6091 GB, free: 0.8125 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005425/0.1353, allocations: 0.5869 MB / 0.6096 GB, free: 228 kB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.137, allocations: 1.602 MB / 0.6112 GB, free: 14.59 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004555/0.1374, allocations: 392.6 kB / 0.6116 GB, free: 14.21 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.1375, allocations: 132.8 kB / 0.6117 GB, free: 14.08 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.587e-05/0.1376, allocations: 28.64 kB / 0.6117 GB, free: 14.05 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003267/0.1379, allocations: 468 kB / 0.6122 GB, free: 13.56 MB / 0.573 GB Notification: Performance of pre-optimization done (n=84): time 1.963e-06/0.1379, allocations: 0 / 0.6122 GB, free: 13.56 MB / 0.573 GB Notification: Performance of matching and sorting (n=84): time 0.0009541/0.1389, allocations: 0.5615 MB / 0.6127 GB, free: 12.99 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.1389, allocations: 192.9 kB / 0.6129 GB, free: 12.75 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003194/0.1392, allocations: 0.5056 MB / 0.6134 GB, free: 12.23 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/0.1393, allocations: 45.7 kB / 0.6134 GB, free: 12.18 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.1394, allocations: 338.2 kB / 0.6138 GB, free: 11.85 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.1396, allocations: 277.6 kB / 0.614 GB, free: 11.57 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.1397, allocations: 174.4 kB / 0.6142 GB, free: 11.4 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.714e-05/0.1398, allocations: 390.6 kB / 0.6146 GB, free: 11.01 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.1399, allocations: 84.78 kB / 0.6146 GB, free: 10.93 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002984/0.1402, allocations: 311.6 kB / 0.6149 GB, free: 10.57 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/0.1406, allocations: 312.7 kB / 0.6152 GB, free: 10.26 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1406, allocations: 4 kB / 0.6152 GB, free: 10.25 MB / 0.573 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.0005888/0.1412, allocations: 450.8 kB / 0.6157 GB, free: 9.801 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.1412, allocations: 4.094 kB / 0.6157 GB, free: 9.797 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1412, allocations: 8.562 kB / 0.6157 GB, free: 9.789 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003701/0.1415, allocations: 116.7 kB / 0.6158 GB, free: 9.672 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/0.1419, allocations: 159.7 kB / 0.6159 GB, free: 9.516 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009014/0.1428, allocations: 1.313 MB / 0.6172 GB, free: 8.117 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/0.143, allocations: 72.25 kB / 0.6173 GB, free: 8.047 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/0.143, allocations: 23.97 kB / 0.6173 GB, free: 8.023 MB / 0.573 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.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,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.0001727/0.1432, allocations: 184.3 kB / 0.6175 GB, free: 7.836 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.865e-05/0.1433, allocations: 71.92 kB / 0.6176 GB, free: 7.766 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008017/0.1441, allocations: 0.6393 MB / 0.6182 GB, free: 7.121 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.1441, allocations: 12 kB / 0.6182 GB, free: 7.109 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.1441, allocations: 0 / 0.6182 GB, free: 7.109 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.1441, allocations: 11.91 kB / 0.6182 GB, free: 7.098 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.1452, allocations: 0.9969 MB / 0.6192 GB, free: 6.078 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1452, allocations: 0 / 0.6192 GB, free: 6.078 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002824/0.1455, allocations: 143.8 kB / 0.6193 GB, free: 5.938 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002804/0.1457, allocations: 112.7 kB / 0.6194 GB, free: 5.824 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/0.1458, allocations: 24.73 kB / 0.6195 GB, free: 5.801 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007569/0.1465, allocations: 1.326 MB / 0.6208 GB, free: 4.383 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1465, allocations: 0 / 0.6208 GB, free: 4.383 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005862/0.1471, allocations: 0.5751 MB / 0.6213 GB, free: 3.789 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001969/0.1473, allocations: 155.1 kB / 0.6215 GB, free: 3.637 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.796e-05/0.1474, allocations: 20 kB / 0.6215 GB, free: 3.617 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.1476, allocations: 39.97 kB / 0.6215 GB, free: 3.578 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.3e-05/0.1477, allocations: 76.78 kB / 0.6216 GB, free: 3.504 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.729e-05/0.1477, allocations: 19.98 kB / 0.6216 GB, free: 3.484 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001775/0.1479, allocations: 259.4 kB / 0.6219 GB, free: 3.23 MB / 0.573 GB Notification: Performance of sort global known variables: time 5e-08/0.1479, allocations: 4 kB / 0.6219 GB, free: 3.227 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004475/0.1484, allocations: 335.1 kB / 0.6222 GB, free: 2.898 MB / 0.573 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.001306/0.1497, allocations: 0.7481 MB / 0.6229 GB, free: 2.512 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0005403/0.1502, allocations: 0.5009 MB / 0.6234 GB, free: 1.996 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.1502, allocations: 8 kB / 0.6234 GB, free: 1.988 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003073/0.1505, allocations: 378.9 kB / 0.6238 GB, free: 1.605 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000559/0.1511, allocations: 328 kB / 0.6241 GB, free: 1.332 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.1529, allocations: 1.529 MB / 0.6256 GB, free: 15.77 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.153, allocations: 198.9 kB / 0.6258 GB, free: 15.55 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.000346/0.1533, allocations: 187.4 kB / 0.6259 GB, free: 15.37 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004842/0.1538, allocations: 319 kB / 0.6262 GB, free: 15.06 MB / 0.5886 GB Notification: Performance of SimCode: time 6.21e-07/0.1538, allocations: 0 / 0.6262 GB, free: 15.06 MB / 0.5886 GB Notification: Performance of Templates: time 0.01733/0.1711, allocations: 16.94 MB / 0.6428 GB, free: 14.5 MB / 0.6042 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: 3.869633776601404]