Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.0008617/0.0008613, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.009129/0.009129, allocations: 171.9 kB / 16.27 MB, free: 6.648 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.511/1.511, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.888/2.888, allocations: 473.4 MB / 0.7469 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003815, allocations: 12.41 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3418, allocations: 162.2 MB / 1.074 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002023/0.3438, allocations: 1.332 MB / 1.075 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.345, allocations: 0.6389 MB / 1.076 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.003e-05/0.3451, allocations: 3.938 kB / 1.076 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.3453, allocations: 71.88 kB / 1.076 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002874/0.3456, allocations: 99.73 kB / 1.076 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000346/0.3459, allocations: 75.84 kB / 1.076 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.3461, allocations: 127.7 kB / 1.076 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.413e-05/0.3462, allocations: 7.984 kB / 1.076 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001659/0.3464, allocations: 67.8 kB / 1.076 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.3466, allocations: 103.8 kB / 1.077 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.3466, allocations: 11.88 kB / 1.077 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.3468, allocations: 75.92 kB / 1.077 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.851e-05/0.3469, allocations: 27.91 kB / 1.077 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.146e-05/0.347, allocations: 81.31 kB / 1.077 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.3472, allocations: 155.8 kB / 1.077 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3472, allocations: 0 / 1.077 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3472, allocations: 0 / 1.077 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.3472, allocations: 0 / 1.077 GB, free: 4.609 MB / 0.8262 GB 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.0006856/0.3479, allocations: 453.6 kB / 1.077 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.348, allocations: 12.03 kB / 1.077 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.399e-05/0.348, allocations: 16.75 kB / 1.077 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.3483, allocations: 221.8 kB / 1.078 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.3483, allocations: 384 / 1.078 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.3483, allocations: 4.375 kB / 1.078 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.3485, allocations: 130.8 kB / 1.078 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3486, allocations: 0 / 1.078 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.3486, allocations: 7.938 kB / 1.078 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3486, allocations: 0 / 1.078 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.3487, allocations: 79.84 kB / 1.078 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.3492, allocations: 416.8 kB / 1.078 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.3494, allocations: 117.1 kB / 1.078 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.3495, allocations: 81.78 kB / 1.078 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.3495, allocations: 4 kB / 1.078 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002798/0.3498, allocations: 174.7 kB / 1.079 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.3498, allocations: 0 / 1.079 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0005608/0.3504, allocations: 327.1 kB / 1.079 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.3505, allocations: 110.8 kB / 1.079 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.3507, allocations: 222.5 kB / 1.079 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.3507, allocations: 29.7 kB / 1.079 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.955e-05/0.3508, allocations: 112.1 kB / 1.079 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/0.3509, allocations: 39.69 kB / 1.079 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.3509, allocations: 17.72 kB / 1.079 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.351, allocations: 334.8 kB / 1.08 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.83e-05/0.3511, allocations: 55.98 kB / 1.08 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.48e-05/0.3512, allocations: 73.69 kB / 1.08 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.3515, allocations: 201 kB / 1.08 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3515, allocations: 0 / 1.08 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003365/0.3518, allocations: 267.1 kB / 1.08 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.877e-05/0.3519, allocations: 37.7 kB / 1.08 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3519, allocations: 0 / 1.08 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.3519, allocations: 0 / 1.08 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.352, allocations: 15.98 kB / 1.08 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.352, allocations: 96 / 1.08 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.3521, allocations: 19.83 kB / 1.08 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.3522, allocations: 8 kB / 1.08 GB, free: 0.7773 MB / 0.8262 GB 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.0001502/0.3523, allocations: 186.2 kB / 1.081 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.3524, allocations: 23.89 kB / 1.081 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002241/0.3526, allocations: 95.02 kB / 1.081 GB, free: 468 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3526, allocations: 0 / 1.081 GB, free: 468 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3526, allocations: 3.984 kB / 1.081 GB, free: 464 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.487e-06/0.3526, allocations: 8 kB / 1.081 GB, free: 456 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.3529, allocations: 233.4 kB / 1.081 GB, free: 172 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3529, allocations: 384 / 1.081 GB, free: 172 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.853e-05/0.353, allocations: 11.98 kB / 1.081 GB, free: 160 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.353, allocations: 4 kB / 1.081 GB, free: 156 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.353, allocations: 4 kB / 1.081 GB, free: 152 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.353, allocations: 4 kB / 1.081 GB, free: 148 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.353, allocations: 0 / 1.081 GB, free: 148 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004496/0.3535, allocations: 343.3 kB / 1.081 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.382e-05/0.3536, allocations: 108.9 kB / 1.081 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.3536, allocations: 4 kB / 1.081 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.3537, allocations: 8 kB / 1.081 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.3538, allocations: 7.984 kB / 1.081 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.3538, allocations: 8 kB / 1.081 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001553/0.354, allocations: 164.2 kB / 1.082 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.354, allocations: 0 / 1.082 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002768/0.3543, allocations: 44 kB / 1.082 GB, free: 15.43 MB / 0.8419 GB 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.0002147/0.3545, allocations: 139.1 kB / 1.082 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003277/0.3548, allocations: 239.3 kB / 1.082 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3548, allocations: 3.938 kB / 1.082 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.355, allocations: 159.4 kB / 1.082 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.3553, allocations: 20.89 kB / 1.082 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006573/0.3559, allocations: 390.3 kB / 1.082 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.3563, allocations: 0.7238 MB / 1.083 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.484e-05/0.3563, allocations: 7.984 kB / 1.083 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.944e-05/0.3564, allocations: 11.44 kB / 1.083 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3564, allocations: 0 / 1.083 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of Templates: time 0.00487/0.3612, allocations: 1.549 MB / 1.085 GB, free: 12.12 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)