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: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 97.86 kB / 16.4 MB, free: 6.496 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.001783/0.001783, allocations: 193.2 kB / 17.34 MB, free: 5.77 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7825/0.7825, allocations: 115.3 MB / 406.5 MB, free: 6.285 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 63.06 kB / 0.5572 GB, free: 32.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1519, allocations: 76.19 MB / 0.6316 GB, free: 4.969 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003068/0.155, allocations: 1.583 MB / 0.6331 GB, free: 3.371 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.1563, allocations: 0.6427 MB / 0.6337 GB, free: 2.723 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.597e-05/0.1564, allocations: 7.938 kB / 0.6338 GB, free: 2.715 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.1566, allocations: 71.83 kB / 0.6338 GB, free: 2.645 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003286/0.157, allocations: 107.7 kB / 0.6339 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.1574, allocations: 95.75 kB / 0.634 GB, free: 2.445 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.1577, allocations: 131.7 kB / 0.6341 GB, free: 2.316 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1578, allocations: 8 kB / 0.6341 GB, free: 2.309 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.158, allocations: 79.73 kB / 0.6342 GB, free: 2.23 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.1582, allocations: 111.7 kB / 0.6343 GB, free: 2.121 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.1583, allocations: 4 kB / 0.6343 GB, free: 2.117 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.1584, allocations: 83.92 kB / 0.6344 GB, free: 2.035 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.98e-05/0.1585, allocations: 27.86 kB / 0.6344 GB, free: 2.008 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.22e-05/0.1586, allocations: 59.66 kB / 0.6345 GB, free: 1.949 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.1589, allocations: 166.3 kB / 0.6347 GB, free: 1.789 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1589, allocations: 0 / 0.6347 GB, free: 1.789 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.178e-06/0.1589, allocations: 8 kB / 0.6347 GB, free: 1.781 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.1589, allocations: 0 / 0.6347 GB, free: 1.781 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.0008117/0.1597, allocations: 473.2 kB / 0.6351 GB, free: 1.266 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1598, allocations: 8.031 kB / 0.6351 GB, free: 1.258 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.599e-05/0.1598, allocations: 42.67 kB / 0.6352 GB, free: 1.207 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/0.1599, allocations: 16.75 kB / 0.6352 GB, free: 1.191 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.1602, allocations: 215.9 kB / 0.6354 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.1602, allocations: 384 / 0.6354 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.1602, allocations: 12.38 kB / 0.6354 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.1604, allocations: 125.9 kB / 0.6355 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1605, allocations: 0 / 0.6355 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.1605, allocations: 4 kB / 0.6355 GB, free: 0.793 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.1605, allocations: 4 kB / 0.6355 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.1607, allocations: 67.95 kB / 0.6356 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004991/0.1612, allocations: 416.8 kB / 0.636 GB, free: 268 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.1614, allocations: 117.2 kB / 0.6361 GB, free: 132 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.1615, allocations: 81.78 kB / 0.6362 GB, free: 44 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.1615, allocations: 0 / 0.6362 GB, free: 44 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002789/0.1618, allocations: 174.7 kB / 0.6363 GB, free: 15.85 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 3.015e-06/0.1618, allocations: 0 / 0.6363 GB, free: 15.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005469/0.1624, allocations: 339.2 kB / 0.6367 GB, free: 15.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.1624, allocations: 110.8 kB / 0.6368 GB, free: 15.37 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.1627, allocations: 222.3 kB / 0.637 GB, free: 15.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.1627, allocations: 25.7 kB / 0.637 GB, free: 15.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.538e-05/0.1628, allocations: 112.1 kB / 0.6371 GB, free: 14.99 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.926e-05/0.1628, allocations: 39.61 kB / 0.6372 GB, free: 14.95 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.451e-05/0.1629, allocations: 33.7 kB / 0.6372 GB, free: 14.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1631, allocations: 330.8 kB / 0.6375 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.911e-05/0.1632, allocations: 60.03 kB / 0.6376 GB, free: 14.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.1633, allocations: 88.02 kB / 0.6376 GB, free: 14.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.1635, allocations: 193 kB / 0.6378 GB, free: 14.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.1635, allocations: 0 / 0.6378 GB, free: 14.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003796/0.1639, allocations: 271.1 kB / 0.6381 GB, free: 13.95 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.46e-05/0.164, allocations: 37.7 kB / 0.6381 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.164, allocations: 0 / 0.6381 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.164, allocations: 4 kB / 0.6381 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.1641, allocations: 11.98 kB / 0.6381 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1641, allocations: 0 / 0.6381 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.1643, allocations: 11.91 kB / 0.6381 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.1643, allocations: 7.984 kB / 0.6382 GB, free: 13.87 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.0001893/0.1645, allocations: 184 kB / 0.6383 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.721e-05/0.1646, allocations: 23.8 kB / 0.6384 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/0.1649, allocations: 95.16 kB / 0.6384 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1649, allocations: 0 / 0.6384 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.1649, allocations: 0 / 0.6384 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.1649, allocations: 7.984 kB / 0.6385 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.1651, allocations: 229.5 kB / 0.6387 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.1651, allocations: 0 / 0.6387 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.659e-05/0.1652, allocations: 11.94 kB / 0.6387 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/0.1652, allocations: 11.98 kB / 0.6387 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.1653, allocations: 7.922 kB / 0.6387 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.1653, allocations: 4.125 kB / 0.6387 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.1653, allocations: 4 kB / 0.6387 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004734/0.1658, allocations: 331.4 kB / 0.639 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.1659, allocations: 108.8 kB / 0.6391 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.883e-05/0.1659, allocations: 16.11 kB / 0.6391 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.836e-05/0.166, allocations: 8 kB / 0.6392 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/0.1661, allocations: 11.92 kB / 0.6392 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/0.1661, allocations: 8 kB / 0.6392 GB, free: 12.71 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001411/0.1663, allocations: 156.5 kB / 0.6393 GB, free: 12.56 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1663, allocations: 0 / 0.6393 GB, free: 12.56 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002967/0.1666, allocations: 47.94 kB / 0.6394 GB, free: 12.51 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.0008626/0.1675, allocations: 0.8882 MB / 0.6402 GB, free: 11.59 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003939/0.1679, allocations: 247.3 kB / 0.6405 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.1679, allocations: 0 / 0.6405 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.1681, allocations: 163.4 kB / 0.6406 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.1683, allocations: 12 kB / 0.6406 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.1709, allocations: 2.234 MB / 0.6428 GB, free: 8.801 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.1712, allocations: 0.7242 MB / 0.6435 GB, free: 8.051 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.14e-05/0.1713, allocations: 19.86 kB / 0.6435 GB, free: 8.031 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.264e-05/0.1714, allocations: 43.42 kB / 0.6436 GB, free: 7.988 MB / 494.1 MB Notification: Performance of SimCode: time 2.424e-06/0.1714, allocations: 4 kB / 0.6436 GB, free: 7.984 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.1944, allocations: 3.58 MB / 0.6471 GB, free: 4.555 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.277/8.471, allocations: 12.31 kB / 0.6471 GB, free: 4.551 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)