Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006285/0.006285, allocations: 105 kB / 15.74 MB, free: 5.992 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.001404/0.001404, allocations: 198.2 kB / 16.68 MB, free: 5.918 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.255/1.255, allocations: 222.9 MB / 240.3 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.001994/0.001994, allocations: 293.9 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.9252/0.9252, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 91.86 kB / 0.6814 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4266/0.4283, allocations: 86.99 MB / 0.7664 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007099/0.4355, allocations: 5.439 MB / 0.7717 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1565/0.5921, allocations: 151.1 MB / 0.9193 GB, free: 6.715 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009636/0.5931, allocations: 19.94 kB / 0.9193 GB, free: 6.695 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005983/0.5938, allocations: 201.9 kB / 0.9195 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001891/0.5957, allocations: 0.6733 MB / 0.9201 GB, free: 5.824 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.5977, allocations: 0.9835 MB / 0.9211 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001702/0.5994, allocations: 1.908 MB / 0.923 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001184/0.6006, allocations: 1.072 MB / 0.924 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008757/0.6015, allocations: 0.8057 MB / 0.9248 GB, free: 1.012 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008109/0.6023, allocations: 0.8635 MB / 0.9256 GB, free: 148 kB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002284/0.6025, allocations: 208 kB / 0.9258 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009158/0.6035, allocations: 0.5698 MB / 0.9264 GB, free: 15.37 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003441/0.6038, allocations: 486.4 kB / 0.9269 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006389/0.6045, allocations: 0.9016 MB / 0.9277 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002135/0.6066, allocations: 2.491 MB / 0.9302 GB, free: 11.49 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6066, allocations: 0 / 0.9302 GB, free: 11.49 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6066, allocations: 4 kB / 0.9302 GB, free: 11.49 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.826e-05/0.6066, allocations: 0 / 0.9302 GB, free: 11.49 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003447/0.6101, allocations: 2.027 MB / 0.9322 GB, free: 9.395 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.6101, allocations: 8.031 kB / 0.9322 GB, free: 9.387 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009867/0.6111, allocations: 254.5 kB / 0.9324 GB, free: 9.137 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.6125, allocations: 0.9888 MB / 0.9334 GB, free: 8.102 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-05/0.6126, allocations: 119.1 kB / 0.9335 GB, free: 7.984 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/0.6128, allocations: 148 kB / 0.9336 GB, free: 7.84 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00244/0.6153, allocations: 1.588 MB / 0.9352 GB, free: 6.195 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.993e-05/0.6153, allocations: 0 / 0.9352 GB, free: 6.195 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/0.6154, allocations: 67.98 kB / 0.9352 GB, free: 6.129 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/0.6155, allocations: 40 kB / 0.9353 GB, free: 6.09 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002492/0.618, allocations: 1.635 MB / 0.9369 GB, free: 4.449 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006038/0.624, allocations: 4.091 MB / 0.9409 GB, free: 276 kB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/0.626, allocations: 1.186 MB / 0.942 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007725/0.6268, allocations: 475.7 kB / 0.9425 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.6269, allocations: 45 kB / 0.9425 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001229/0.6281, allocations: 0.7782 MB / 0.9433 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=128): time 2.515e-06/0.6281, allocations: 0 / 0.9433 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of matching and sorting (n=128): time 0.00418/0.6323, allocations: 1.842 MB / 0.9451 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.687e-05/0.6324, allocations: 193.2 kB / 0.9453 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.6334, allocations: 0.8732 MB / 0.9461 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.391e-05/0.6335, allocations: 57.64 kB / 0.9462 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004304/0.634, allocations: 0.5975 MB / 0.9468 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003308/0.6343, allocations: 414.2 kB / 0.9472 GB, free: 9.699 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003644/0.6347, allocations: 254.7 kB / 0.9474 GB, free: 9.441 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.6348, allocations: 353.9 kB / 0.9477 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000787/0.6356, allocations: 450.4 kB / 0.9482 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009056/0.6365, allocations: 0.5571 MB / 0.9487 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/0.6382, allocations: 0.9818 MB / 0.9497 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.6382, allocations: 0 / 0.9497 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002697/0.6409, allocations: 1.34 MB / 0.951 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.641, allocations: 7.984 kB / 0.951 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.641, allocations: 4.094 kB / 0.951 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005956/0.6416, allocations: 80.78 kB / 0.9511 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.6427, allocations: 271.6 kB / 0.9513 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/0.6447, allocations: 1.646 MB / 0.9529 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.6459, allocations: 151 kB / 0.9531 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/0.646, allocations: 59.95 kB / 0.9531 GB, free: 3.375 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: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * 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.0006946/0.6467, allocations: 352 kB / 0.9535 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002788/0.647, allocations: 122.5 kB / 0.9536 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003775/0.6508, allocations: 1.698 MB / 0.9552 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.6508, allocations: 12.11 kB / 0.9553 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.6508, allocations: 3.938 kB / 0.9553 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.797e-05/0.6508, allocations: 11.97 kB / 0.9553 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4305/1.081, allocations: 1.396 MB / 0.9566 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.161e-05/1.081, allocations: 4.047 kB / 0.9566 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/1.083, allocations: 215.2 kB / 0.9568 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005336/1.083, allocations: 76.94 kB / 0.9569 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001601/1.083, allocations: 44.28 kB / 0.957 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001868/1.085, allocations: 1.667 MB / 0.9586 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/1.085, allocations: 4.906 kB / 0.9586 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003744/1.089, allocations: 1.399 MB / 0.96 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006832/1.09, allocations: 375 kB / 0.9603 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/1.09, allocations: 36.95 kB / 0.9603 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000924/1.091, allocations: 88.77 kB / 0.9604 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002878/1.091, allocations: 117.5 kB / 0.9605 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/1.091, allocations: 57.22 kB / 0.9606 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009997/1.092, allocations: 0.6459 MB / 0.9612 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.41e-07/1.092, allocations: 0 / 0.9612 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001346/1.094, allocations: 466.1 kB / 0.9617 GB, free: 185.3 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: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001388/1.095, allocations: 0.626 MB / 0.9623 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002481/1.098, allocations: 1.27 MB / 0.9635 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.098, allocations: 3.969 kB / 0.9635 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001235/1.099, allocations: 0.7431 MB / 0.9643 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/1.1, allocations: 320.8 kB / 0.9646 GB, free: 184.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005499/1.106, allocations: 2.65 MB / 0.9671 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007205/1.107, allocations: 1.237 MB / 0.9684 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001123/1.108, allocations: 330.2 kB / 0.9687 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004222/1.108, allocations: 159.2 kB / 0.9688 GB, free: 182 MB / 0.7169 GB Notification: Performance of SimCode: time 9.81e-07/1.108, allocations: 0 / 0.9688 GB, free: 182 MB / 0.7169 GB Notification: Performance of Templates: time 0.02937/1.138, allocations: 21.48 MB / 0.9898 GB, free: 163.4 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)