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.004508/0.004508, allocations: 102.6 kB / 15.73 MB, free: 6.062 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.001155/0.001155, allocations: 193.8 kB / 16.67 MB, free: 5.973 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.228/1.228, 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.001973/0.001973, allocations: 292.5 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8646/0.8646, allocations: 169.2 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 99.84 kB / 0.6814 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.3998, allocations: 86.98 MB / 0.7664 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005901/0.4057, allocations: 5.451 MB / 0.7717 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1376/0.5434, allocations: 151.1 MB / 0.9193 GB, free: 6.703 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009086/0.5443, allocations: 23.88 kB / 0.9193 GB, free: 6.68 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006992/0.5451, allocations: 209.9 kB / 0.9195 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002089/0.5472, allocations: 0.6813 MB / 0.9201 GB, free: 5.793 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002105/0.5493, allocations: 0.9653 MB / 0.9211 GB, free: 4.832 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001965/0.5512, allocations: 1.904 MB / 0.923 GB, free: 2.918 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.5524, allocations: 1.08 MB / 0.924 GB, free: 1.801 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008083/0.5533, allocations: 0.8096 MB / 0.9248 GB, free: 0.9883 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007495/0.554, allocations: 0.8634 MB / 0.9256 GB, free: 124 kB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002309/0.5543, allocations: 208 kB / 0.9258 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008579/0.5551, allocations: 0.5659 MB / 0.9264 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003429/0.5555, allocations: 486.4 kB / 0.9269 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006294/0.5561, allocations: 0.9017 MB / 0.9277 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001999/0.5581, allocations: 2.487 MB / 0.9302 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.5581, allocations: 8 kB / 0.9302 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5581, allocations: 0 / 0.9302 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.354e-05/0.5582, allocations: 4 kB / 0.9302 GB, free: 11.46 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.003351/0.5615, allocations: 2.018 MB / 0.9321 GB, free: 9.383 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.5616, allocations: 12.03 kB / 0.9322 GB, free: 9.371 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009669/0.5625, allocations: 254.5 kB / 0.9324 GB, free: 9.121 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.5638, allocations: 0.9927 MB / 0.9334 GB, free: 8.082 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.062e-05/0.5639, allocations: 115.1 kB / 0.9335 GB, free: 7.969 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/0.5641, allocations: 152 kB / 0.9336 GB, free: 7.82 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002339/0.5665, allocations: 1.592 MB / 0.9352 GB, free: 6.172 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.5665, allocations: 0 / 0.9352 GB, free: 6.172 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/0.5666, allocations: 72 kB / 0.9352 GB, free: 6.102 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.723e-05/0.5667, allocations: 36 kB / 0.9353 GB, free: 6.066 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002389/0.5691, allocations: 1.635 MB / 0.9369 GB, free: 4.426 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005679/0.5747, allocations: 4.09 MB / 0.9409 GB, free: 264 kB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001941/0.5767, allocations: 1.19 MB / 0.942 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007543/0.5775, allocations: 475.7 kB / 0.9425 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.497e-05/0.5776, allocations: 49.06 kB / 0.9425 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001204/0.5788, allocations: 0.7744 MB / 0.9433 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=128): time 3.637e-06/0.5788, allocations: 0 / 0.9433 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of matching and sorting (n=128): time 0.004012/0.5828, allocations: 1.838 MB / 0.9451 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.489e-05/0.5829, allocations: 205.2 kB / 0.9453 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009448/0.5839, allocations: 0.8693 MB / 0.9461 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.212e-05/0.584, allocations: 49.7 kB / 0.9462 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003757/0.5843, allocations: 0.6014 MB / 0.9468 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/0.5846, allocations: 406.2 kB / 0.9472 GB, free: 9.691 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003503/0.585, allocations: 258.7 kB / 0.9474 GB, free: 9.43 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.5851, allocations: 353.9 kB / 0.9477 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008064/0.5859, allocations: 450.4 kB / 0.9482 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009098/0.5868, allocations: 0.5571 MB / 0.9487 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/0.5885, allocations: 0.9857 MB / 0.9497 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5885, allocations: 0 / 0.9497 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002623/0.5912, allocations: 1.336 MB / 0.951 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.5912, allocations: 4 kB / 0.951 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.5912, allocations: 0 / 0.951 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005641/0.5918, allocations: 92.77 kB / 0.9511 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.5929, allocations: 263.6 kB / 0.9513 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/0.5948, allocations: 1.653 MB / 0.9529 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000984/0.5958, allocations: 146.9 kB / 0.9531 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.651e-05/0.5959, allocations: 64.02 kB / 0.9531 GB, free: 3.363 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.0004742/0.5964, allocations: 353.7 kB / 0.9535 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.5966, allocations: 118.6 kB / 0.9536 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003373/0.5999, allocations: 1.705 MB / 0.9553 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.799e-06/0.6, allocations: 12 kB / 0.9553 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.6, allocations: 4 kB / 0.9553 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.6, allocations: 3.984 kB / 0.9553 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.334/0.934, allocations: 1.4 MB / 0.9566 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-05/0.934, allocations: 2.109 kB / 0.9566 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.9352, allocations: 214.5 kB / 0.9568 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00048/0.9357, allocations: 74.48 kB / 0.9569 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/0.9358, allocations: 38.5 kB / 0.957 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/0.9374, allocations: 1.672 MB / 0.9586 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.9374, allocations: 0 / 0.9586 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003112/0.9406, allocations: 1.411 MB / 0.96 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005206/0.9411, allocations: 369.3 kB / 0.9603 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/0.9413, allocations: 38.34 kB / 0.9604 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008988/0.9422, allocations: 85.91 kB / 0.9604 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002222/0.9424, allocations: 116.8 kB / 0.9605 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.9425, allocations: 52.81 kB / 0.9606 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008217/0.9434, allocations: 0.6442 MB / 0.9612 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9434, allocations: 0 / 0.9612 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001038/0.9444, allocations: 467.3 kB / 0.9617 GB, free: 185.2 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.001251/0.9457, allocations: 0.6237 MB / 0.9623 GB, free: 185 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002157/0.9478, allocations: 1.263 MB / 0.9635 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.9478, allocations: 3.938 kB / 0.9635 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.949, allocations: 0.7443 MB / 0.9642 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.001211/0.9502, allocations: 339.4 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.004651/0.9548, allocations: 2.649 MB / 0.9672 GB, free: 182.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005913/0.9554, allocations: 1.24 MB / 0.9684 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008985/0.9564, allocations: 326 kB / 0.9687 GB, free: 182 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003826/0.9567, allocations: 163.3 kB / 0.9688 GB, free: 182 MB / 0.7169 GB Notification: Performance of SimCode: time 1.002e-06/0.9567, allocations: 0 / 0.9688 GB, free: 182 MB / 0.7169 GB Notification: Performance of Templates: time 0.02394/0.9807, allocations: 21.47 MB / 0.9898 GB, free: 163.3 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)