Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.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.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 112.6 kB / 16.37 MB, free: 6 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.0009726/0.0009726, allocations: 196 kB / 17.31 MB, free: 5.613 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.279/1.279, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002178/0.002178, allocations: 296.6 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9213/0.9213, allocations: 169.3 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 98.14 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.138, allocations: 86.97 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002718/0.1407, allocations: 1.591 MB / 0.6832 GB, free: 5.859 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.1418, allocations: 0.6435 MB / 0.6838 GB, free: 5.211 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.156e-05/0.1419, allocations: 0 / 0.6838 GB, free: 5.211 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.142, allocations: 83.75 kB / 0.6839 GB, free: 5.129 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.1423, allocations: 99.69 kB / 0.684 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.1427, allocations: 95.75 kB / 0.6841 GB, free: 4.938 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.1428, allocations: 131.7 kB / 0.6842 GB, free: 4.809 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.154e-05/0.1429, allocations: 23.91 kB / 0.6842 GB, free: 4.785 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.1431, allocations: 63.81 kB / 0.6843 GB, free: 4.723 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.1432, allocations: 107.8 kB / 0.6844 GB, free: 4.617 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.1433, allocations: 8 kB / 0.6844 GB, free: 4.609 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.1434, allocations: 83.86 kB / 0.6845 GB, free: 4.527 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.47e-05/0.1435, allocations: 27.92 kB / 0.6845 GB, free: 4.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.059e-05/0.1435, allocations: 59.59 kB / 0.6845 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.1438, allocations: 167.5 kB / 0.6847 GB, free: 4.277 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1438, allocations: 4 kB / 0.6847 GB, free: 4.273 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1438, allocations: 0 / 0.6847 GB, free: 4.273 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.1438, allocations: 0 / 0.6847 GB, free: 4.273 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006651/0.1445, allocations: 484.3 kB / 0.6852 GB, free: 3.746 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.1445, allocations: 8.031 kB / 0.6852 GB, free: 3.738 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.419e-05/0.1446, allocations: 16.75 kB / 0.6852 GB, free: 3.723 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.1448, allocations: 212.3 kB / 0.6854 GB, free: 3.477 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.1448, allocations: 12.31 kB / 0.6854 GB, free: 3.465 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.1449, allocations: 8.359 kB / 0.6854 GB, free: 3.457 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.1451, allocations: 130.9 kB / 0.6855 GB, free: 3.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.1451, allocations: 0 / 0.6855 GB, free: 3.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.1451, allocations: 3.984 kB / 0.6855 GB, free: 3.316 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1451, allocations: 0 / 0.6855 GB, free: 3.316 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.1452, allocations: 75.91 kB / 0.6856 GB, free: 3.242 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004263/0.1457, allocations: 408.9 kB / 0.686 GB, free: 2.789 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.1459, allocations: 117.1 kB / 0.6861 GB, free: 2.656 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.146, allocations: 81.78 kB / 0.6862 GB, free: 2.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.146, allocations: 0 / 0.6862 GB, free: 2.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002357/0.1462, allocations: 186.6 kB / 0.6864 GB, free: 2.363 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.1463, allocations: 0 / 0.6864 GB, free: 2.363 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005035/0.1468, allocations: 335.5 kB / 0.6867 GB, free: 2.023 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.613e-05/0.1468, allocations: 110.8 kB / 0.6868 GB, free: 1.891 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.147, allocations: 210.6 kB / 0.687 GB, free: 1.672 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.1471, allocations: 29.7 kB / 0.687 GB, free: 1.637 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/0.1471, allocations: 116.1 kB / 0.6871 GB, free: 1.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.392e-05/0.1472, allocations: 39.55 kB / 0.6872 GB, free: 1.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/0.1472, allocations: 29.7 kB / 0.6872 GB, free: 1.445 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.1473, allocations: 330.8 kB / 0.6875 GB, free: 1.113 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.766e-05/0.1474, allocations: 59.97 kB / 0.6876 GB, free: 1.055 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.707e-05/0.1475, allocations: 77.69 kB / 0.6876 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.1478, allocations: 196.9 kB / 0.6878 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1478, allocations: 3.938 kB / 0.6878 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003266/0.1481, allocations: 275.1 kB / 0.6881 GB, free: 488 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.1481, allocations: 37.69 kB / 0.6881 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1482, allocations: 0 / 0.6881 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.1482, allocations: 0 / 0.6881 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.54e-05/0.1483, allocations: 12 kB / 0.6882 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1483, allocations: 3.984 kB / 0.6882 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.1484, allocations: 8 kB / 0.6882 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.1484, allocations: 8 kB / 0.6882 GB, free: 412 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (decAng.tNext,$PRE.decAng.tNext,$whenCondition2,solDecNOAA.nextEventScaled,solDecNOAA.nextEvent,$PRE.solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.1486, allocations: 175.5 kB / 0.6883 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.1486, allocations: 19.81 kB / 0.6884 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/0.1488, allocations: 103 kB / 0.6885 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1488, allocations: 0 / 0.6885 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1488, allocations: 0 / 0.6885 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1488, allocations: 0 / 0.6885 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2247/0.3736, allocations: 237.6 kB / 0.6887 GB, free: 18.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.3736, allocations: 1.391 kB / 0.6887 GB, free: 18.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.529e-05/0.3737, allocations: 10.03 kB / 0.6887 GB, free: 18.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.3737, allocations: 1.875 kB / 0.6887 GB, free: 18.24 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.3737, allocations: 9.203 kB / 0.6887 GB, free: 18.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.3737, allocations: 1.531 kB / 0.6887 GB, free: 18.24 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.3737, allocations: 3 kB / 0.6887 GB, free: 18.24 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000421/0.3742, allocations: 338.2 kB / 0.689 GB, free: 18.14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-05/0.3743, allocations: 105 kB / 0.6891 GB, free: 18.05 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.3743, allocations: 3.953 kB / 0.6891 GB, free: 18.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.3744, allocations: 13.44 kB / 0.6891 GB, free: 18.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.3745, allocations: 8.453 kB / 0.6892 GB, free: 18.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.3745, allocations: 9.859 kB / 0.6892 GB, free: 18.05 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.3746, allocations: 165.3 kB / 0.6893 GB, free: 17.97 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.72e-07/0.3746, allocations: 1.562 kB / 0.6893 GB, free: 17.97 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.3749, allocations: 50.33 kB / 0.6894 GB, free: 17.97 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,decAng.tNext,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 7 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001425/0.375, allocations: 127 kB / 0.6895 GB, free: 17.88 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002975/0.3753, allocations: 242.2 kB / 0.6897 GB, free: 17.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3754, allocations: 1.656 kB / 0.6897 GB, free: 17.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.3755, allocations: 170.5 kB / 0.6899 GB, free: 17.76 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.3757, allocations: 15.52 kB / 0.6899 GB, free: 17.76 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005022/0.3762, allocations: 348 kB / 0.6902 GB, free: 17.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.3764, allocations: 0.7253 MB / 0.6909 GB, free: 16.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.812e-05/0.3764, allocations: 8.094 kB / 0.6909 GB, free: 16.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/0.3764, allocations: 12.17 kB / 0.691 GB, free: 16.89 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3764, allocations: 1.062 kB / 0.691 GB, free: 16.89 MB / 494.1 MB Notification: Performance of Templates: time 0.004234/0.3807, allocations: 1.665 MB / 0.6926 GB, free: 16.88 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)