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.00101/0.00101, allocations: 108.3 kB / 16.41 MB, free: 6.473 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.001055/0.001055, allocations: 189.2 kB / 17.34 MB, free: 5.75 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7159/0.7159, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 65.67 kB / 0.5577 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1412, allocations: 76.18 MB / 0.6321 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002422/0.1436, allocations: 1.593 MB / 0.6336 GB, free: 2.824 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.1446, allocations: 0.6388 MB / 0.6342 GB, free: 2.18 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.684e-05/0.1447, allocations: 0 / 0.6342 GB, free: 2.18 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.1449, allocations: 75.84 kB / 0.6343 GB, free: 2.105 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.1451, allocations: 107.6 kB / 0.6344 GB, free: 2 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.1455, allocations: 107.1 kB / 0.6345 GB, free: 1.898 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.1457, allocations: 131.7 kB / 0.6346 GB, free: 1.77 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.391e-05/0.1457, allocations: 4 kB / 0.6346 GB, free: 1.766 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.1459, allocations: 79.73 kB / 0.6347 GB, free: 1.688 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.1461, allocations: 103.8 kB / 0.6348 GB, free: 1.586 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.1461, allocations: 8 kB / 0.6348 GB, free: 1.578 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.1462, allocations: 79.91 kB / 0.6349 GB, free: 1.5 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.688e-05/0.1463, allocations: 35.86 kB / 0.6349 GB, free: 1.465 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.906e-05/0.1464, allocations: 55.61 kB / 0.635 GB, free: 1.41 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.1466, allocations: 167.4 kB / 0.6352 GB, free: 1.246 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1466, allocations: 4 kB / 0.6352 GB, free: 1.242 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1466, allocations: 0 / 0.6352 GB, free: 1.242 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.1466, allocations: 0 / 0.6352 GB, free: 1.242 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.0007286/0.1474, allocations: 478.3 kB / 0.6356 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.1474, allocations: 8.031 kB / 0.6356 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.189e-05/0.1475, allocations: 16.75 kB / 0.6356 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.1477, allocations: 215.9 kB / 0.6358 GB, free: 460 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.1478, allocations: 4.375 kB / 0.6358 GB, free: 456 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.1478, allocations: 8.375 kB / 0.6359 GB, free: 448 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.148, allocations: 131.6 kB / 0.636 GB, free: 304 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.148, allocations: 0 / 0.636 GB, free: 304 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.148, allocations: 4 kB / 0.636 GB, free: 300 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.148, allocations: 0 / 0.636 GB, free: 300 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.1482, allocations: 67.97 kB / 0.636 GB, free: 232 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004488/0.1486, allocations: 416.8 kB / 0.6364 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.1488, allocations: 113.2 kB / 0.6366 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.931e-05/0.1489, allocations: 81.86 kB / 0.6366 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.1489, allocations: 7.984 kB / 0.6366 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002322/0.1492, allocations: 174.8 kB / 0.6368 GB, free: 15.35 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.1492, allocations: 0 / 0.6368 GB, free: 15.35 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005261/0.1497, allocations: 331 kB / 0.6371 GB, free: 15.01 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.1499, allocations: 114.8 kB / 0.6372 GB, free: 14.88 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.1501, allocations: 214.3 kB / 0.6374 GB, free: 14.65 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.1501, allocations: 33.7 kB / 0.6375 GB, free: 14.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.345e-05/0.1502, allocations: 112.1 kB / 0.6376 GB, free: 14.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.1503, allocations: 35.53 kB / 0.6376 GB, free: 14.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.616e-05/0.1503, allocations: 37.55 kB / 0.6376 GB, free: 14.42 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1505, allocations: 334.8 kB / 0.638 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-05/0.1506, allocations: 63.91 kB / 0.638 GB, free: 14.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.977e-05/0.1507, allocations: 73.69 kB / 0.6381 GB, free: 13.94 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/0.1509, allocations: 197.3 kB / 0.6383 GB, free: 13.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.151, allocations: 0 / 0.6383 GB, free: 13.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000315/0.1513, allocations: 267.1 kB / 0.6385 GB, free: 13.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.703e-05/0.1513, allocations: 41.69 kB / 0.6386 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1513, allocations: 0 / 0.6386 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1514, allocations: 0 / 0.6386 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.732e-05/0.1515, allocations: 15.94 kB / 0.6386 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.1515, allocations: 0 / 0.6386 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.626e-05/0.1516, allocations: 11.89 kB / 0.6386 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.1516, allocations: 8 kB / 0.6386 GB, free: 13.38 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.0001612/0.1518, allocations: 185.5 kB / 0.6388 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.1518, allocations: 15.81 kB / 0.6388 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.152, allocations: 99 kB / 0.6389 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.152, allocations: 4 kB / 0.6389 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.152, allocations: 0 / 0.6389 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.152, allocations: 0 / 0.6389 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.1522, allocations: 233.5 kB / 0.6391 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1522, allocations: 8.078 kB / 0.6391 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.202e-05/0.1523, allocations: 8 kB / 0.6391 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1523, allocations: 3.984 kB / 0.6391 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.1523, allocations: 4 kB / 0.6391 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1523, allocations: 0 / 0.6391 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1523, allocations: 3.938 kB / 0.6392 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004963/0.1528, allocations: 343.3 kB / 0.6395 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.444e-05/0.1529, allocations: 108.9 kB / 0.6396 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.153, allocations: 12.12 kB / 0.6396 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.015e-05/0.1531, allocations: 4 kB / 0.6396 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.1531, allocations: 15.97 kB / 0.6396 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.1532, allocations: 11.98 kB / 0.6396 GB, free: 12.22 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001366/0.1533, allocations: 152.5 kB / 0.6398 GB, free: 12.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1533, allocations: 0 / 0.6398 GB, free: 12.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002449/0.1536, allocations: 55.89 kB / 0.6398 GB, free: 12.02 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.0002511/0.1538, allocations: 127.2 kB / 0.6399 GB, free: 11.88 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003585/0.1542, allocations: 243.3 kB / 0.6402 GB, free: 11.63 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1542, allocations: 0 / 0.6402 GB, free: 11.63 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.1544, allocations: 171.3 kB / 0.6403 GB, free: 11.45 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.1546, allocations: 10.03 kB / 0.6404 GB, free: 11.45 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005355/0.1551, allocations: 348.5 kB / 0.6407 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.1554, allocations: 0.7272 MB / 0.6414 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.681e-05/0.1555, allocations: 7.938 kB / 0.6414 GB, free: 10.31 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.21e-05/0.1555, allocations: 23.42 kB / 0.6414 GB, free: 10.29 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.1555, allocations: 0 / 0.6414 GB, free: 10.29 MB / 494.1 MB Notification: Performance of Templates: time 0.004345/0.1599, allocations: 1.66 MB / 0.643 GB, free: 8.637 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)