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.0011/0.001101, allocations: 113.9 kB / 17.08 MB, free: 6.016 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.001049/0.001049, allocations: 197.8 kB / 18.02 MB, free: 5.094 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.245/1.245, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6836/0.6836, allocations: 115.3 MB / 407.2 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 61.75 kB / 0.5583 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1448, allocations: 76.18 MB / 0.6327 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002875/0.1478, allocations: 1.593 MB / 0.6343 GB, free: 2.789 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.149, allocations: 0.6387 MB / 0.6349 GB, free: 2.145 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.685e-05/0.1491, allocations: 4 kB / 0.6349 GB, free: 2.141 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001742/0.1493, allocations: 75.81 kB / 0.635 GB, free: 2.066 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003123/0.1496, allocations: 111.6 kB / 0.6351 GB, free: 1.957 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004039/0.1501, allocations: 95.7 kB / 0.6352 GB, free: 1.863 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.1503, allocations: 123.7 kB / 0.6353 GB, free: 1.742 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.311e-05/0.1504, allocations: 12 kB / 0.6353 GB, free: 1.73 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.1506, allocations: 87.72 kB / 0.6354 GB, free: 1.645 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.1508, allocations: 103.8 kB / 0.6355 GB, free: 1.543 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.1508, allocations: 4 kB / 0.6355 GB, free: 1.539 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.151, allocations: 79.92 kB / 0.6356 GB, free: 1.461 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.112e-05/0.1511, allocations: 23.92 kB / 0.6356 GB, free: 1.438 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.926e-05/0.1511, allocations: 63.59 kB / 0.6356 GB, free: 1.375 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.1514, allocations: 167.4 kB / 0.6358 GB, free: 1.211 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.1514, allocations: 0 / 0.6358 GB, free: 1.211 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1514, allocations: 3.938 kB / 0.6358 GB, free: 1.207 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.1514, allocations: 3.984 kB / 0.6358 GB, free: 1.203 MB / 478.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.0006564/0.1521, allocations: 476.4 kB / 0.6363 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1521, allocations: 12.03 kB / 0.6363 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.652e-05/0.1522, allocations: 16.75 kB / 0.6363 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.1525, allocations: 211.9 kB / 0.6365 GB, free: 420 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.1525, allocations: 384 / 0.6365 GB, free: 420 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.1525, allocations: 8.359 kB / 0.6365 GB, free: 412 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.1527, allocations: 135.6 kB / 0.6366 GB, free: 264 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1527, allocations: 0 / 0.6366 GB, free: 264 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.1528, allocations: 4 kB / 0.6366 GB, free: 260 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1528, allocations: 4 kB / 0.6366 GB, free: 256 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.1529, allocations: 67.97 kB / 0.6367 GB, free: 188 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004586/0.1534, allocations: 412.8 kB / 0.6371 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.1535, allocations: 117.2 kB / 0.6372 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.1536, allocations: 81.78 kB / 0.6373 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.1537, allocations: 4 kB / 0.6373 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002358/0.1539, allocations: 170.7 kB / 0.6375 GB, free: 15.31 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.1539, allocations: 4 kB / 0.6375 GB, free: 15.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004907/0.1544, allocations: 335.2 kB / 0.6378 GB, free: 14.97 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.23e-05/0.1545, allocations: 110.8 kB / 0.6379 GB, free: 14.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.1547, allocations: 218.3 kB / 0.6381 GB, free: 14.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.1548, allocations: 29.7 kB / 0.6381 GB, free: 14.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.408e-05/0.1548, allocations: 112.1 kB / 0.6382 GB, free: 14.46 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/0.1549, allocations: 35.55 kB / 0.6383 GB, free: 14.42 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.246e-05/0.1549, allocations: 33.61 kB / 0.6383 GB, free: 14.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1551, allocations: 338.7 kB / 0.6386 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.239e-05/0.1551, allocations: 59.97 kB / 0.6387 GB, free: 13.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.634e-05/0.1552, allocations: 81.62 kB / 0.6388 GB, free: 13.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.1554, allocations: 185.1 kB / 0.6389 GB, free: 13.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1554, allocations: 0 / 0.6389 GB, free: 13.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003138/0.1558, allocations: 267.1 kB / 0.6392 GB, free: 13.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/0.1558, allocations: 37.69 kB / 0.6392 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1558, allocations: 4 kB / 0.6392 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1558, allocations: 4 kB / 0.6392 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.156, allocations: 12 kB / 0.6392 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.156, allocations: 7.938 kB / 0.6392 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.1561, allocations: 11.89 kB / 0.6393 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.1561, allocations: 4 kB / 0.6393 GB, free: 13.34 MB / 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.0001543/0.1563, allocations: 184.1 kB / 0.6394 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.1563, allocations: 15.81 kB / 0.6395 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001962/0.1565, allocations: 99.38 kB / 0.6395 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1565, allocations: 4 kB / 0.6396 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1565, allocations: 64 / 0.6396 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1565, allocations: 4.094 kB / 0.6396 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.1567, allocations: 237.4 kB / 0.6398 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1567, allocations: 3.938 kB / 0.6398 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.291e-05/0.1568, allocations: 12 kB / 0.6398 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1568, allocations: 0 / 0.6398 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.1568, allocations: 8 kB / 0.6398 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1568, allocations: 4 kB / 0.6398 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1568, allocations: 96 / 0.6398 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003951/0.1573, allocations: 347.2 kB / 0.6401 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.525e-05/0.1574, allocations: 104.9 kB / 0.6402 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/0.1574, allocations: 4 kB / 0.6402 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.338e-05/0.1575, allocations: 7.984 kB / 0.6403 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.1576, allocations: 12 kB / 0.6403 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.1576, allocations: 11.98 kB / 0.6403 GB, free: 12.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.1577, allocations: 156.5 kB / 0.6404 GB, free: 12.03 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1577, allocations: 0 / 0.6404 GB, free: 12.03 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000255/0.158, allocations: 51.89 kB / 0.6405 GB, free: 11.98 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.0001906/0.1582, allocations: 128.6 kB / 0.6406 GB, free: 11.85 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003388/0.1585, allocations: 246.3 kB / 0.6408 GB, free: 11.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1585, allocations: 0 / 0.6408 GB, free: 11.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.1587, allocations: 171.3 kB / 0.641 GB, free: 11.42 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.1589, allocations: 12 kB / 0.641 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006277/0.1596, allocations: 382.2 kB / 0.6414 GB, free: 10.99 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.1599, allocations: 0.7275 MB / 0.6421 GB, free: 10.24 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.1599, allocations: 15.44 kB / 0.6421 GB, free: 10.22 MB / 494.1 MB Notification: Performance of SimCode: time 1.81e-07/0.1599, allocations: 0 / 0.6421 GB, free: 10.22 MB / 494.1 MB Notification: Performance of Templates: time 0.003651/0.1636, allocations: 1.884 MB / 0.6439 GB, free: 8.352 MB / 494.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 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)