Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="BuildingSystems_BuildingSystems_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.001293/0.001293, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001086/0.001086, allocations: 194.9 kB / 16.14 MB, free: 6.707 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.256/1.256, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001985/0.001985, allocations: 291 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9139/0.9139, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 102.5 kB / 0.5946 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1463, allocations: 86.98 MB / 0.6796 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002619/0.149, allocations: 1.645 MB / 0.6812 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.15, allocations: 0.6575 MB / 0.6818 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.68e-05/0.1501, allocations: 3.938 kB / 0.6818 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001562/0.1503, allocations: 71.88 kB / 0.6819 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002471/0.1505, allocations: 93.88 kB / 0.682 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.1508, allocations: 77.44 kB / 0.682 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.151, allocations: 123.7 kB / 0.6822 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.859e-05/0.1511, allocations: 9.266 kB / 0.6822 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.1512, allocations: 75.73 kB / 0.6822 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.1514, allocations: 103.7 kB / 0.6823 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.1514, allocations: 7.938 kB / 0.6823 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.1516, allocations: 75.94 kB / 0.6824 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.762e-05/0.1516, allocations: 35.89 kB / 0.6825 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.583e-05/0.1517, allocations: 51.61 kB / 0.6825 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.1519, allocations: 159.5 kB / 0.6827 GB, free: 13.89 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1519, allocations: 0 / 0.6827 GB, free: 13.89 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.152, allocations: 0 / 0.6827 GB, free: 13.89 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.152, allocations: 4 kB / 0.6827 GB, free: 13.89 MB / 494.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.0007259/0.1527, allocations: 480.3 kB / 0.6831 GB, free: 13.37 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.1528, allocations: 8.031 kB / 0.6831 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.922e-05/0.1528, allocations: 38.69 kB / 0.6832 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.1529, allocations: 16.75 kB / 0.6832 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.1531, allocations: 215.9 kB / 0.6834 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.1531, allocations: 4.375 kB / 0.6834 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.1531, allocations: 384 / 0.6834 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.1533, allocations: 131.5 kB / 0.6835 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1534, allocations: 4 kB / 0.6835 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.1534, allocations: 4 kB / 0.6835 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1534, allocations: 0 / 0.6835 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.1535, allocations: 71.91 kB / 0.6836 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004115/0.1539, allocations: 408.8 kB / 0.684 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.1541, allocations: 117.1 kB / 0.6841 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.1542, allocations: 81.78 kB / 0.6842 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.1543, allocations: 7.984 kB / 0.6842 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002956/0.1546, allocations: 185.7 kB / 0.6844 GB, free: 11.94 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.1546, allocations: 0 / 0.6844 GB, free: 11.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004867/0.1551, allocations: 331.3 kB / 0.6847 GB, free: 11.61 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.1551, allocations: 106.8 kB / 0.6848 GB, free: 11.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.1553, allocations: 218.9 kB / 0.685 GB, free: 11.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.1554, allocations: 25.7 kB / 0.685 GB, free: 11.22 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.683e-05/0.1554, allocations: 116.1 kB / 0.6851 GB, free: 11.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.1555, allocations: 39.55 kB / 0.6852 GB, free: 11.06 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.823e-05/0.1555, allocations: 21.72 kB / 0.6852 GB, free: 11.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1556, allocations: 338.8 kB / 0.6855 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.229e-05/0.1557, allocations: 59.97 kB / 0.6856 GB, free: 10.64 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.82e-05/0.1558, allocations: 77.69 kB / 0.6856 GB, free: 10.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.156, allocations: 201 kB / 0.6858 GB, free: 10.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.1561, allocations: 0 / 0.6858 GB, free: 10.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003244/0.1564, allocations: 275 kB / 0.6861 GB, free: 10.06 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.1564, allocations: 33.69 kB / 0.6861 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1564, allocations: 4 kB / 0.6861 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1565, allocations: 0 / 0.6861 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.944e-05/0.1566, allocations: 12 kB / 0.6861 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1566, allocations: 3.984 kB / 0.6861 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.1567, allocations: 15.89 kB / 0.6861 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.1567, allocations: 4 kB / 0.6861 GB, free: 9.98 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.0001644/0.1569, allocations: 188.7 kB / 0.6863 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.1569, allocations: 19.81 kB / 0.6863 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002014/0.1571, allocations: 99.31 kB / 0.6864 GB, free: 9.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.1571, allocations: 4 kB / 0.6864 GB, free: 9.656 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.1572, allocations: 4.062 kB / 0.6865 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.1572, allocations: 0 / 0.6865 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.1574, allocations: 225.5 kB / 0.6867 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1574, allocations: 4 kB / 0.6867 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.663e-05/0.1574, allocations: 11.98 kB / 0.6867 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1574, allocations: 4 kB / 0.6867 GB, free: 9.363 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.1575, allocations: 8 kB / 0.6867 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1575, allocations: 3.938 kB / 0.6867 GB, free: 9.352 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1575, allocations: 0 / 0.6867 GB, free: 9.352 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003919/0.1579, allocations: 335.4 kB / 0.687 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.03e-05/0.158, allocations: 104.9 kB / 0.6871 GB, free: 8.875 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.158, allocations: 4 kB / 0.6871 GB, free: 8.871 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.557e-05/0.1581, allocations: 8 kB / 0.6871 GB, free: 8.863 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.916e-05/0.1582, allocations: 12.08 kB / 0.6871 GB, free: 8.852 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.1582, allocations: 15.92 kB / 0.6872 GB, free: 8.836 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.1584, allocations: 160.2 kB / 0.6873 GB, free: 8.68 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1584, allocations: 3.938 kB / 0.6873 GB, free: 8.676 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1586, allocations: 43.92 kB / 0.6874 GB, free: 8.633 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.0007343/0.1594, allocations: 0.8958 MB / 0.6882 GB, free: 7.699 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003236/0.1597, allocations: 247.3 kB / 0.6885 GB, free: 7.445 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1597, allocations: 0 / 0.6885 GB, free: 7.445 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.1599, allocations: 167.5 kB / 0.6886 GB, free: 7.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.1601, allocations: 16.66 kB / 0.6886 GB, free: 7.258 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.1623, allocations: 2.255 MB / 0.6908 GB, free: 4.902 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.1626, allocations: 0.7238 MB / 0.6915 GB, free: 4.152 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.394e-05/0.1627, allocations: 11.92 kB / 0.6916 GB, free: 4.141 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.423e-05/0.1628, allocations: 43.42 kB / 0.6916 GB, free: 4.098 MB / 494.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1628, allocations: 0 / 0.6916 GB, free: 4.098 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01257/0.1753, allocations: 3.287 MB / 0.6948 GB, free: 1.008 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/0.1755, allocations: 240.4 kB / 0.695 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/1.798, allocations: 0 / 0.695 GB, free: 0.7578 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)