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.001099/0.001099, allocations: 98.66 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 178.6 kB / 16.92 MB, free: 6.922 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.429/1.429, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6826/0.6826, allocations: 115.5 MB / 407.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003455, allocations: 16 kB / 495.8 MB, free: 6.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1875, allocations: 77.53 MB / 0.5599 GB, free: 9.07 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002124/0.1896, allocations: 1.309 MB / 0.5612 GB, free: 7.742 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.1909, allocations: 0.643 MB / 0.5618 GB, free: 7.094 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.364e-05/0.191, allocations: 0 / 0.5618 GB, free: 7.094 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.1912, allocations: 79.81 kB / 0.5619 GB, free: 7.016 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002709/0.1914, allocations: 103.7 kB / 0.562 GB, free: 6.914 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.1917, allocations: 71.8 kB / 0.5621 GB, free: 6.844 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.1919, allocations: 119.7 kB / 0.5622 GB, free: 6.727 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.228e-05/0.192, allocations: 12 kB / 0.5622 GB, free: 6.715 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.1921, allocations: 67.75 kB / 0.5623 GB, free: 6.648 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.1923, allocations: 103.8 kB / 0.5624 GB, free: 6.547 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.1924, allocations: 0 / 0.5624 GB, free: 6.547 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.1925, allocations: 75.92 kB / 0.5625 GB, free: 6.473 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.343e-05/0.1926, allocations: 27.92 kB / 0.5625 GB, free: 6.445 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.669e-05/0.1927, allocations: 77.31 kB / 0.5626 GB, free: 6.363 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.1929, allocations: 167.7 kB / 0.5627 GB, free: 6.199 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.1929, allocations: 0 / 0.5627 GB, free: 6.199 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1929, allocations: 0 / 0.5627 GB, free: 6.199 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1929, allocations: 0 / 0.5627 GB, free: 6.199 MB / 430.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.0006856/0.1936, allocations: 456.5 kB / 0.5632 GB, free: 5.699 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.1936, allocations: 12.03 kB / 0.5632 GB, free: 5.688 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.159e-05/0.1937, allocations: 16.75 kB / 0.5632 GB, free: 5.672 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.1939, allocations: 215.8 kB / 0.5634 GB, free: 5.422 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.194, allocations: 4.375 kB / 0.5634 GB, free: 5.418 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.194, allocations: 4.375 kB / 0.5634 GB, free: 5.414 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.1943, allocations: 131.6 kB / 0.5635 GB, free: 5.273 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.1943, allocations: 0 / 0.5635 GB, free: 5.273 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.1943, allocations: 0 / 0.5635 GB, free: 5.273 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.1943, allocations: 4 kB / 0.5635 GB, free: 5.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.1944, allocations: 71.95 kB / 0.5636 GB, free: 5.199 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004762/0.1949, allocations: 420.8 kB / 0.564 GB, free: 4.734 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.1951, allocations: 113.2 kB / 0.5641 GB, free: 4.605 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.1952, allocations: 81.78 kB / 0.5642 GB, free: 4.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.1953, allocations: 3.938 kB / 0.5642 GB, free: 4.516 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002876/0.1955, allocations: 174.7 kB / 0.5643 GB, free: 4.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.1956, allocations: 0 / 0.5643 GB, free: 4.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005225/0.1961, allocations: 335 kB / 0.5647 GB, free: 3.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/0.1962, allocations: 110.8 kB / 0.5648 GB, free: 3.848 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.1964, allocations: 219.1 kB / 0.565 GB, free: 3.621 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.1964, allocations: 29.7 kB / 0.565 GB, free: 3.586 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.341e-05/0.1965, allocations: 116.1 kB / 0.5651 GB, free: 3.469 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.1965, allocations: 31.7 kB / 0.5652 GB, free: 3.438 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.1966, allocations: 21.7 kB / 0.5652 GB, free: 3.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1967, allocations: 334.8 kB / 0.5655 GB, free: 3.074 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.618e-05/0.1968, allocations: 59.97 kB / 0.5655 GB, free: 3.016 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.324e-05/0.1969, allocations: 77.62 kB / 0.5656 GB, free: 2.934 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.1971, allocations: 197 kB / 0.5658 GB, free: 2.723 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1971, allocations: 4 kB / 0.5658 GB, free: 2.719 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000329/0.1975, allocations: 267 kB / 0.5661 GB, free: 2.445 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.174e-05/0.1975, allocations: 43.56 kB / 0.5661 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1975, allocations: 0 / 0.5661 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1975, allocations: 0 / 0.5661 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1976, allocations: 19.92 kB / 0.5661 GB, free: 2.379 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1977, allocations: 0 / 0.5661 GB, free: 2.379 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.951e-05/0.1978, allocations: 8 kB / 0.5661 GB, free: 2.371 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.1978, allocations: 4 kB / 0.5661 GB, free: 2.367 MB / 430.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.0001522/0.198, allocations: 184.1 kB / 0.5663 GB, free: 2.172 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.198, allocations: 19.81 kB / 0.5663 GB, free: 2.152 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/0.1982, allocations: 95.16 kB / 0.5664 GB, free: 2.055 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1982, allocations: 3.938 kB / 0.5664 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.1982, allocations: 0 / 0.5664 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1982, allocations: 3.938 kB / 0.5664 GB, free: 2.047 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/0.1985, allocations: 245.4 kB / 0.5667 GB, free: 1.758 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1985, allocations: 0 / 0.5667 GB, free: 1.758 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.261e-05/0.1986, allocations: 8.375 kB / 0.5667 GB, free: 1.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1986, allocations: 0 / 0.5667 GB, free: 1.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.1986, allocations: 7.984 kB / 0.5667 GB, free: 1.742 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.1986, allocations: 8 kB / 0.5667 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1986, allocations: 0 / 0.5667 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004189/0.1991, allocations: 338.4 kB / 0.567 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.322e-05/0.1992, allocations: 108.9 kB / 0.5671 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.1992, allocations: 8 kB / 0.5671 GB, free: 1.246 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.283e-05/0.1993, allocations: 7.984 kB / 0.5671 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/0.1994, allocations: 7.984 kB / 0.5671 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.1994, allocations: 8 kB / 0.5671 GB, free: 1.223 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.1995, allocations: 163 kB / 0.5673 GB, free: 1.062 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1995, allocations: 3.938 kB / 0.5673 GB, free: 1.059 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.1998, allocations: 44 kB / 0.5673 GB, free: 1.016 MB / 430.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.0001916/0.2, allocations: 131.2 kB / 0.5675 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003244/0.2003, allocations: 239.3 kB / 0.5677 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2003, allocations: 0 / 0.5677 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.2005, allocations: 167.3 kB / 0.5679 GB, free: 468 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.2008, allocations: 18.23 kB / 0.5679 GB, free: 452 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006223/0.2014, allocations: 389 kB / 0.5682 GB, free: 28 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.2017, allocations: 0.7238 MB / 0.569 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.551e-05/0.2018, allocations: 8.266 kB / 0.569 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.2018, allocations: 11.44 kB / 0.569 GB, free: 15.26 MB / 446.1 MB Notification: Performance of SimCode: time 7.51e-07/0.2018, allocations: 0 / 0.569 GB, free: 15.26 MB / 446.1 MB Notification: Performance of Templates: time 0.004677/0.2065, allocations: 1.541 MB / 0.5705 GB, free: 13.73 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 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)