Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001332/0.001332, allocations: 115.3 kB / 17.04 MB, free: 5.812 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.001434/0.001434, allocations: 195 kB / 17.98 MB, free: 5.027 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.332/1.332, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7207/0.7207, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 59.91 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3347, allocations: 76.14 MB / 0.5576 GB, free: 36.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002937/0.3377, allocations: 1.581 MB / 0.5591 GB, free: 35.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.3388, allocations: 0.6578 MB / 0.5598 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.915e-05/0.3389, allocations: 0 / 0.5598 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.3391, allocations: 69.61 kB / 0.5598 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002936/0.3394, allocations: 105.5 kB / 0.5599 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.3398, allocations: 97.36 kB / 0.56 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002861/0.3401, allocations: 135.7 kB / 0.5601 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.3402, allocations: 12.8 kB / 0.5602 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.3404, allocations: 74.38 kB / 0.5602 GB, free: 35.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002739/0.3407, allocations: 103.6 kB / 0.5603 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.3408, allocations: 6.344 kB / 0.5603 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.341, allocations: 82.02 kB / 0.5604 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.163e-05/0.341, allocations: 30.67 kB / 0.5604 GB, free: 35.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.881e-05/0.3411, allocations: 56.72 kB / 0.5605 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003179/0.3414, allocations: 165.5 kB / 0.5607 GB, free: 34.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3415, allocations: 2.938 kB / 0.5607 GB, free: 34.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3415, allocations: 0 / 0.5607 GB, free: 34.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.3415, allocations: 0 / 0.5607 GB, free: 34.96 MB / 446.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.0007962/0.3423, allocations: 481.6 kB / 0.5611 GB, free: 34.51 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.3423, allocations: 12.72 kB / 0.5611 GB, free: 34.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.785e-05/0.3424, allocations: 17.41 kB / 0.5611 GB, free: 34.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.3427, allocations: 222.6 kB / 0.5614 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.3427, allocations: 3.625 kB / 0.5614 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.3427, allocations: 3.938 kB / 0.5614 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.343, allocations: 133.8 kB / 0.5615 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.343, allocations: 0.6562 kB / 0.5615 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.343, allocations: 1.281 kB / 0.5615 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.343, allocations: 3.812 kB / 0.5615 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.3432, allocations: 70.72 kB / 0.5616 GB, free: 34.17 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.3436, allocations: 405.4 kB / 0.562 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.3438, allocations: 122 kB / 0.5621 GB, free: 33.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.3439, allocations: 82.67 kB / 0.5621 GB, free: 33.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.344, allocations: 1.672 kB / 0.5621 GB, free: 33.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002413/0.3442, allocations: 182.8 kB / 0.5623 GB, free: 33.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.823e-06/0.3442, allocations: 0 / 0.5623 GB, free: 33.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005855/0.3448, allocations: 338.7 kB / 0.5626 GB, free: 33.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.3449, allocations: 107 kB / 0.5627 GB, free: 33.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.3451, allocations: 211.7 kB / 0.563 GB, free: 33.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.3451, allocations: 27.39 kB / 0.563 GB, free: 33.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.3452, allocations: 116.1 kB / 0.5631 GB, free: 33.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/0.3452, allocations: 35.95 kB / 0.5631 GB, free: 33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/0.3453, allocations: 29.86 kB / 0.5632 GB, free: 32.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.305e-05/0.3453, allocations: 334.9 kB / 0.5635 GB, free: 32.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.683e-05/0.3454, allocations: 60.84 kB / 0.5635 GB, free: 32.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.214e-05/0.3455, allocations: 76.78 kB / 0.5636 GB, free: 32.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.3457, allocations: 198.6 kB / 0.5638 GB, free: 32.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3457, allocations: 0 / 0.5638 GB, free: 32.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003324/0.3461, allocations: 270 kB / 0.564 GB, free: 32.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.535e-05/0.3461, allocations: 36.55 kB / 0.5641 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3461, allocations: 5 kB / 0.5641 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3462, allocations: 1.531 kB / 0.5641 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.3463, allocations: 14.5 kB / 0.5641 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3463, allocations: 1.781 kB / 0.5641 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.3464, allocations: 15.31 kB / 0.5641 GB, free: 32.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.3464, allocations: 4.25 kB / 0.5641 GB, free: 32.33 MB / 446.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.0001284/0.3466, allocations: 183.9 kB / 0.5643 GB, free: 32.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-05/0.3466, allocations: 21.47 kB / 0.5643 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002088/0.3468, allocations: 97.72 kB / 0.5644 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.3468, allocations: 1.312 kB / 0.5644 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3469, allocations: 0.9688 kB / 0.5644 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3469, allocations: 1.781 kB / 0.5644 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.3471, allocations: 229.5 kB / 0.5646 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3471, allocations: 2.594 kB / 0.5646 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.035e-05/0.3471, allocations: 12.86 kB / 0.5646 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3471, allocations: 1.219 kB / 0.5647 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.3472, allocations: 9.016 kB / 0.5647 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3472, allocations: 1.719 kB / 0.5647 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3472, allocations: 5.562 kB / 0.5647 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.3476, allocations: 334.1 kB / 0.565 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-05/0.3477, allocations: 111.6 kB / 0.5651 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.3477, allocations: 5.094 kB / 0.5651 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.3478, allocations: 9.578 kB / 0.5651 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.3479, allocations: 13.09 kB / 0.5651 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.3479, allocations: 6.609 kB / 0.5651 GB, free: 31.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001275/0.3481, allocations: 167.7 kB / 0.5653 GB, free: 31.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3481, allocations: 1 kB / 0.5653 GB, free: 31.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002897/0.3484, allocations: 43.67 kB / 0.5653 GB, free: 31.48 MB / 446.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.0002006/0.3486, allocations: 133.6 kB / 0.5655 GB, free: 31.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003653/0.3489, allocations: 246.5 kB / 0.5657 GB, free: 31.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.349, allocations: 0 / 0.5657 GB, free: 31.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.3492, allocations: 165.4 kB / 0.5658 GB, free: 31.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.3494, allocations: 18.3 kB / 0.5659 GB, free: 31.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006625/0.3501, allocations: 355.8 kB / 0.5662 GB, free: 30.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.3503, allocations: 0.7247 MB / 0.5669 GB, free: 30.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.776e-05/0.3503, allocations: 7.781 kB / 0.5669 GB, free: 30.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.266e-05/0.3504, allocations: 13.34 kB / 0.5669 GB, free: 30.24 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3504, allocations: 3.938 kB / 0.5669 GB, free: 30.23 MB / 446.1 MB Notification: Performance of Templates: time 0.00563/0.356, allocations: 1.648 MB / 0.5685 GB, free: 30.16 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)