Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="BuildSysPro_BuildSysPro_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.005007/0.005007, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.001825/0.001825, allocations: 196.8 kB / 16.68 MB, free: 6.352 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.27 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.03/1.03, allocations: 143.3 MB / 433.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 59.91 kB / 0.5953 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3529, allocations: 82.03 MB / 0.6754 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002334/0.3553, allocations: 1.494 MB / 0.6769 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.3563, allocations: 0.5788 MB / 0.6774 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.543e-05/0.3564, allocations: 3.938 kB / 0.6774 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.3566, allocations: 71.08 kB / 0.6775 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.3568, allocations: 84.41 kB / 0.6776 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.3571, allocations: 97.05 kB / 0.6777 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.3573, allocations: 101.7 kB / 0.6778 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.962e-05/0.3574, allocations: 8.281 kB / 0.6778 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.3575, allocations: 57.61 kB / 0.6778 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.3577, allocations: 82.42 kB / 0.6779 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.3577, allocations: 4 kB / 0.6779 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.3579, allocations: 84.3 kB / 0.678 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.636e-05/0.3579, allocations: 31.2 kB / 0.678 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.65e-05/0.358, allocations: 50.59 kB / 0.6781 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.3582, allocations: 134.5 kB / 0.6782 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3582, allocations: 1.031 kB / 0.6782 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3583, allocations: 0 / 0.6782 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.3583, allocations: 0 / 0.6782 GB, free: 15.03 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000582/0.3589, allocations: 463 kB / 0.6786 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.3589, allocations: 9.125 kB / 0.6786 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.656e-05/0.359, allocations: 37.06 kB / 0.6787 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.359, allocations: 14.88 kB / 0.6787 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.3593, allocations: 211.3 kB / 0.6789 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-06/0.3593, allocations: 6.5 kB / 0.6789 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.3593, allocations: 11.61 kB / 0.6789 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.3595, allocations: 104.4 kB / 0.679 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.3595, allocations: 0 / 0.679 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.3595, allocations: 1.156 kB / 0.679 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.3595, allocations: 5.031 kB / 0.679 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.834e-05/0.3596, allocations: 62.81 kB / 0.6791 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/0.36, allocations: 297.2 kB / 0.6794 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.3602, allocations: 93.42 kB / 0.6794 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.3603, allocations: 82.17 kB / 0.6795 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.3603, allocations: 5.109 kB / 0.6795 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.3605, allocations: 146.7 kB / 0.6797 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.3605, allocations: 0 / 0.6797 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0004473/0.361, allocations: 294.2 kB / 0.68 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.302e-05/0.3611, allocations: 113.8 kB / 0.6801 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.3613, allocations: 203.5 kB / 0.6803 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.3613, allocations: 26.73 kB / 0.6803 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.55e-05/0.3614, allocations: 110.6 kB / 0.6804 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.3614, allocations: 33.33 kB / 0.6804 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.713e-05/0.3615, allocations: 21.09 kB / 0.6804 GB, free: 13 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3616, allocations: 340.5 kB / 0.6808 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.373e-05/0.3617, allocations: 50 kB / 0.6808 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.236e-05/0.3618, allocations: 74.19 kB / 0.6809 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.362, allocations: 174.4 kB / 0.681 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.362, allocations: 0 / 0.681 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003125/0.3623, allocations: 246.3 kB / 0.6813 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.061e-05/0.3624, allocations: 37.59 kB / 0.6813 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3624, allocations: 1.094 kB / 0.6813 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3624, allocations: 0 / 0.6813 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.798e-05/0.3625, allocations: 11.03 kB / 0.6813 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.3625, allocations: 5.219 kB / 0.6813 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.096e-05/0.3626, allocations: 11.45 kB / 0.6813 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.3626, allocations: 3.469 kB / 0.6813 GB, free: 12.31 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (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 (6): * Single equations (assignments): 5 * 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.0001554/0.3628, allocations: 176.1 kB / 0.6815 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.3628, allocations: 15.81 kB / 0.6815 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.363, allocations: 61.25 kB / 0.6816 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.363, allocations: 5.188 kB / 0.6816 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.363, allocations: 8.047 kB / 0.6816 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.363, allocations: 1.188 kB / 0.6816 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.3632, allocations: 221.2 kB / 0.6818 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3632, allocations: 5.203 kB / 0.6818 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.365e-05/0.3633, allocations: 6.906 kB / 0.6818 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.3633, allocations: 5.047 kB / 0.6818 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.3633, allocations: 2.531 kB / 0.6818 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3633, allocations: 1.156 kB / 0.6818 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3633, allocations: 1.312 kB / 0.6818 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003695/0.3637, allocations: 313.7 kB / 0.6821 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-05/0.3638, allocations: 105.2 kB / 0.6822 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.3638, allocations: 2.75 kB / 0.6822 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.494e-05/0.3639, allocations: 2.75 kB / 0.6822 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.3639, allocations: 15.98 kB / 0.6823 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.364, allocations: 8.125 kB / 0.6823 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001251/0.3641, allocations: 153.1 kB / 0.6824 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3641, allocations: 4 kB / 0.6824 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002474/0.3644, allocations: 36.28 kB / 0.6824 GB, free: 11.39 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 6 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0007383/0.3651, allocations: 0.8675 MB / 0.6833 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000291/0.3654, allocations: 220.8 kB / 0.6835 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3654, allocations: 1.625 kB / 0.6835 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.3656, allocations: 158.8 kB / 0.6837 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.3658, allocations: 10.72 kB / 0.6837 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.368, allocations: 2.089 MB / 0.6857 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.3683, allocations: 0.717 MB / 0.6864 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.826e-05/0.3684, allocations: 3 kB / 0.6864 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.712e-05/0.3684, allocations: 37.3 kB / 0.6864 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.3684, allocations: 0 / 0.6864 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.368/2.737, allocations: 3.093 MB / 0.6895 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/15.93, allocations: 17.19 kB / 0.6895 GB, free: 6.531 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)