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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007187/0.007187, allocations: 103.1 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 189.6 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002054/0.002054, allocations: 298.5 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8984/0.8984, allocations: 169.3 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 95.86 kB / 0.6814 GB, free: 7.008 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4241/0.4258, allocations: 86.98 MB / 0.7664 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005986/0.4318, allocations: 4.408 MB / 0.7707 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1603/0.5922, allocations: 150.6 MB / 0.9177 GB, free: 8.34 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007737/0.593, allocations: 15.94 kB / 0.9178 GB, free: 8.324 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007547/0.5937, allocations: 174.3 kB / 0.9179 GB, free: 8.152 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002118/0.5959, allocations: 0.5173 MB / 0.9184 GB, free: 7.637 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002255/0.5982, allocations: 0.8319 MB / 0.9192 GB, free: 6.812 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00183/0.6, allocations: 1.359 MB / 0.9206 GB, free: 5.445 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.6012, allocations: 0.6237 MB / 0.9212 GB, free: 4.801 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009007/0.6021, allocations: 498.2 kB / 0.9216 GB, free: 4.312 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008383/0.603, allocations: 0.5056 MB / 0.9221 GB, free: 3.805 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003189/0.6033, allocations: 116 kB / 0.9223 GB, free: 3.691 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.6045, allocations: 495.6 kB / 0.9227 GB, free: 3.207 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003781/0.6049, allocations: 303 kB / 0.923 GB, free: 2.91 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007006/0.6056, allocations: 0.5596 MB / 0.9236 GB, free: 2.348 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002312/0.6079, allocations: 1.634 MB / 0.9252 GB, free: 0.7109 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.6079, allocations: 4 kB / 0.9252 GB, free: 0.707 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6079, allocations: 0 / 0.9252 GB, free: 0.707 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.671e-05/0.608, allocations: 0 / 0.9252 GB, free: 0.707 MB / 0.6856 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.003332/0.6113, allocations: 1.452 MB / 0.9266 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.6114, allocations: 8.031 kB / 0.9266 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.6124, allocations: 183.4 kB / 0.9268 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.6139, allocations: 0.7819 MB / 0.9275 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.986e-05/0.614, allocations: 62 kB / 0.9276 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.6141, allocations: 80 kB / 0.9277 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.6159, allocations: 0.9457 MB / 0.9286 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.616, allocations: 4 kB / 0.9286 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-05/0.6161, allocations: 40 kB / 0.9286 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.6161, allocations: 24 kB / 0.9286 GB, free: 13 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001813/0.6179, allocations: 1.12 MB / 0.9297 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004617/0.6225, allocations: 2.511 MB / 0.9322 GB, free: 9.297 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/0.6242, allocations: 0.907 MB / 0.9331 GB, free: 8.367 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005502/0.6248, allocations: 318.6 kB / 0.9334 GB, free: 8.051 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.806e-05/0.6249, allocations: 36.67 kB / 0.9334 GB, free: 8.012 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009409/0.6258, allocations: 0.5042 MB / 0.9339 GB, free: 7.488 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=84): time 2.916e-06/0.6258, allocations: 0 / 0.9339 GB, free: 7.488 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.003259/0.6291, allocations: 1.247 MB / 0.9351 GB, free: 6.219 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.6292, allocations: 192.9 kB / 0.9353 GB, free: 5.988 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008747/0.6301, allocations: 0.6448 MB / 0.9359 GB, free: 5.336 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.257e-05/0.6302, allocations: 45.7 kB / 0.936 GB, free: 5.285 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003393/0.6305, allocations: 404.4 kB / 0.9364 GB, free: 4.883 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/0.6308, allocations: 268.2 kB / 0.9366 GB, free: 4.617 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002753/0.6311, allocations: 166.5 kB / 0.9368 GB, free: 4.445 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.6313, allocations: 386.8 kB / 0.9372 GB, free: 4.059 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006162/0.6319, allocations: 277.8 kB / 0.9374 GB, free: 3.789 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006631/0.6326, allocations: 375.1 kB / 0.9378 GB, free: 3.41 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.6337, allocations: 0.6203 MB / 0.9384 GB, free: 2.777 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.6337, allocations: 4 kB / 0.9384 GB, free: 2.773 MB / 0.7012 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.0021/0.6359, allocations: 0.8839 MB / 0.9393 GB, free: 1.879 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.6359, allocations: 10.17 kB / 0.9393 GB, free: 1.871 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.6359, allocations: 3.938 kB / 0.9393 GB, free: 1.867 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005874/0.6365, allocations: 80.81 kB / 0.9393 GB, free: 1.785 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006704/0.6372, allocations: 167.7 kB / 0.9395 GB, free: 1.621 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/0.6393, allocations: 1.634 MB / 0.9411 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008125/0.6401, allocations: 83.42 kB / 0.9412 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.692e-05/0.6402, allocations: 39.97 kB / 0.9412 GB, free: 15.72 MB / 0.7169 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.0004998/0.6407, allocations: 283.7 kB / 0.9415 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/0.641, allocations: 86.97 kB / 0.9416 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/0.6436, allocations: 1.128 MB / 0.9427 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.6436, allocations: 19.92 kB / 0.9427 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.6436, allocations: 3.938 kB / 0.9427 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.6436, allocations: 3.984 kB / 0.9427 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003571/0.6472, allocations: 2.022 MB / 0.9447 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.6472, allocations: 0 / 0.9447 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005915/0.6478, allocations: 147.8 kB / 0.9448 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004402/0.6483, allocations: 76.78 kB / 0.9449 GB, free: 11.87 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.535e-05/0.6483, allocations: 23.98 kB / 0.9449 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/0.6502, allocations: 1.666 MB / 0.9465 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.6502, allocations: 0 / 0.9465 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.6523, allocations: 1.049 MB / 0.9476 GB, free: 8.969 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004441/0.6527, allocations: 271.7 kB / 0.9478 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.6529, allocations: 24 kB / 0.9478 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007159/0.6536, allocations: 67.92 kB / 0.9479 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.6538, allocations: 76.89 kB / 0.948 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.173e-05/0.6539, allocations: 35.98 kB / 0.948 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006186/0.6545, allocations: 471 kB / 0.9485 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6545, allocations: 0 / 0.9485 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009739/0.6555, allocations: 323.2 kB / 0.9488 GB, free: 7.715 MB / 0.7169 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.001455/0.657, allocations: 0.6063 MB / 0.9494 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00184/0.6588, allocations: 0.8664 MB / 0.9502 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.83e-06/0.6588, allocations: 4 kB / 0.9502 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009795/0.6598, allocations: 0.547 MB / 0.9507 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.6611, allocations: 291.3 kB / 0.951 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004189/0.6653, allocations: 1.783 MB / 0.9528 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006734/0.666, allocations: 1.039 MB / 0.9538 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008205/0.6668, allocations: 266.9 kB / 0.954 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003025/0.6672, allocations: 115.3 kB / 0.9541 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of SimCode: time 8.32e-07/0.6672, allocations: 0 / 0.9541 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of Templates: time 0.3196/0.9868, allocations: 15.72 MB / 0.9695 GB, free: 183.2 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)