Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 114 kB / 16.42 MB, free: 6.496 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.001867/0.001867, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002144/0.002144, allocations: 297.8 kB / 291.5 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.9598/0.9598, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 103.8 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3792, allocations: 86.97 MB / 0.767 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005711/0.3849, allocations: 4.474 MB / 0.7714 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1522/0.5371, allocations: 150.8 MB / 0.9186 GB, free: 7.801 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007025/0.5379, allocations: 19.94 kB / 0.9187 GB, free: 7.781 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006342/0.5385, allocations: 178.3 kB / 0.9188 GB, free: 7.605 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.5404, allocations: 0.5451 MB / 0.9194 GB, free: 7.062 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00198/0.5424, allocations: 0.8376 MB / 0.9202 GB, free: 6.23 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001653/0.544, allocations: 1.378 MB / 0.9215 GB, free: 4.844 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000985/0.545, allocations: 0.618 MB / 0.9221 GB, free: 4.203 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007942/0.5458, allocations: 0.5099 MB / 0.9226 GB, free: 3.691 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007439/0.5466, allocations: 0.5134 MB / 0.9231 GB, free: 3.176 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002615/0.5469, allocations: 120 kB / 0.9232 GB, free: 3.059 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.5479, allocations: 491.6 kB / 0.9237 GB, free: 2.578 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003445/0.5482, allocations: 307 kB / 0.924 GB, free: 2.277 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00067/0.5489, allocations: 0.5789 MB / 0.9246 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002182/0.5511, allocations: 1.654 MB / 0.9262 GB, free: 40 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5511, allocations: 4 kB / 0.9262 GB, free: 36 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5512, allocations: 0 / 0.9262 GB, free: 36 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.664e-05/0.5512, allocations: 0 / 0.9262 GB, free: 36 kB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003074/0.5543, allocations: 1.472 MB / 0.9276 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.5543, allocations: 8.031 kB / 0.9276 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.5553, allocations: 183.4 kB / 0.9278 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.5567, allocations: 0.7857 MB / 0.9286 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.098e-05/0.5568, allocations: 69.98 kB / 0.9286 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.5569, allocations: 84 kB / 0.9287 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.5587, allocations: 0.9651 MB / 0.9297 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.5588, allocations: 0 / 0.9297 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.316e-05/0.5589, allocations: 39.98 kB / 0.9297 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.5589, allocations: 24 kB / 0.9297 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001926/0.5608, allocations: 1.159 MB / 0.9308 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004442/0.5653, allocations: 2.644 MB / 0.9334 GB, free: 8.395 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.5669, allocations: 0.8472 MB / 0.9343 GB, free: 7.547 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005912/0.5675, allocations: 318.7 kB / 0.9346 GB, free: 7.23 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.161e-05/0.5676, allocations: 32.69 kB / 0.9346 GB, free: 7.199 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009507/0.5686, allocations: 0.543 MB / 0.9351 GB, free: 6.637 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=88): time 2.725e-06/0.5686, allocations: 0 / 0.9351 GB, free: 6.637 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88): time 0.003462/0.572, allocations: 1.286 MB / 0.9364 GB, free: 5.328 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.656e-05/0.5722, allocations: 188.9 kB / 0.9366 GB, free: 5.098 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008617/0.573, allocations: 0.6566 MB / 0.9372 GB, free: 4.434 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.802e-05/0.5731, allocations: 41.7 kB / 0.9372 GB, free: 4.387 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/0.5735, allocations: 404.5 kB / 0.9376 GB, free: 3.984 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002382/0.5737, allocations: 287.8 kB / 0.9379 GB, free: 3.699 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002754/0.574, allocations: 178.5 kB / 0.9381 GB, free: 3.52 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.5742, allocations: 398.7 kB / 0.9385 GB, free: 3.121 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006045/0.5748, allocations: 285.8 kB / 0.9387 GB, free: 2.844 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007112/0.5755, allocations: 391.1 kB / 0.9391 GB, free: 2.445 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.5768, allocations: 0.6555 MB / 0.9397 GB, free: 1.781 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5768, allocations: 0 / 0.9397 GB, free: 1.781 MB / 0.7012 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002213/0.579, allocations: 0.9229 MB / 0.9406 GB, free: 0.8438 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.579, allocations: 7.938 kB / 0.9406 GB, free: 0.8359 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.579, allocations: 0 / 0.9406 GB, free: 0.8359 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006089/0.5797, allocations: 88.83 kB / 0.9407 GB, free: 0.7461 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007676/0.5804, allocations: 171.8 kB / 0.9409 GB, free: 0.5781 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002219/0.5827, allocations: 1.634 MB / 0.9425 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008372/0.5835, allocations: 99.42 kB / 0.9426 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.003e-05/0.5836, allocations: 43.89 kB / 0.9426 GB, free: 14.66 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 (105): * Single equations (assignments): 104 * 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.0004848/0.5841, allocations: 283 kB / 0.9429 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/0.5843, allocations: 90.88 kB / 0.943 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002723/0.5871, allocations: 1.164 MB / 0.9441 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.5871, allocations: 7.984 kB / 0.9441 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.5871, allocations: 3.938 kB / 0.9441 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000453/0.5876, allocations: 275.7 kB / 0.9444 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/0.5877, allocations: 27.94 kB / 0.9444 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007073/0.5884, allocations: 63.92 kB / 0.9445 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.5886, allocations: 76.89 kB / 0.9446 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002237/0.5909, allocations: 1.022 MB / 0.9456 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002485/0.5934, allocations: 1.504 MB / 0.947 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006526/0.5941, allocations: 379.8 kB / 0.9474 GB, free: 9.723 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006505/0.5947, allocations: 483 kB / 0.9478 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of Backend: time 5.51e-07/0.5947, allocations: 4 kB / 0.9478 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003453/0.5982, allocations: 1.298 MB / 0.9491 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003165/0.6014, allocations: 2.107 MB / 0.9512 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of Templates: time 0.3263/0.9276, allocations: 17.11 MB / 0.9679 GB, free: 185 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)