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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.005194/0.005199, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001234/0.001234, allocations: 197.3 kB / 16.68 MB, free: 5.977 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 0.9294/0.9294, allocations: 143 MB / 433.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 59.91 kB / 0.5951 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3638, allocations: 82.03 MB / 0.6752 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002099/0.3659, allocations: 1.483 MB / 0.6766 GB, free: 0 / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009568/0.3669, allocations: 0.5778 MB / 0.6772 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.702e-05/0.367, allocations: 5.281 kB / 0.6772 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.3671, allocations: 73.86 kB / 0.6772 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.3673, allocations: 81.5 kB / 0.6773 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.3676, allocations: 91.02 kB / 0.6774 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.3678, allocations: 109.4 kB / 0.6775 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.559e-05/0.3679, allocations: 13.34 kB / 0.6775 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.368, allocations: 62.19 kB / 0.6776 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.3682, allocations: 85.97 kB / 0.6777 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.3682, allocations: 3.688 kB / 0.6777 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.3683, allocations: 76.58 kB / 0.6777 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.294e-05/0.3684, allocations: 32.03 kB / 0.6778 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.668e-05/0.3684, allocations: 42.69 kB / 0.6778 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.3686, allocations: 143.5 kB / 0.678 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3686, allocations: 0 / 0.678 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.615e-06/0.3687, allocations: 0 / 0.678 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.325e-06/0.3687, allocations: 5.031 kB / 0.678 GB, free: 15.1 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.0004839/0.3692, allocations: 461.6 kB / 0.6784 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.3692, allocations: 9.25 kB / 0.6784 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.853e-05/0.3692, allocations: 37.23 kB / 0.6784 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.3693, allocations: 15.94 kB / 0.6785 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.3695, allocations: 206.9 kB / 0.6787 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-06/0.3695, allocations: 2.594 kB / 0.6787 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.3696, allocations: 6.75 kB / 0.6787 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.3697, allocations: 116.8 kB / 0.6788 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.3697, allocations: 0 / 0.6788 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.3698, allocations: 1.312 kB / 0.6788 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3698, allocations: 1.281 kB / 0.6788 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.924e-05/0.3699, allocations: 58.16 kB / 0.6788 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003335/0.3702, allocations: 301.1 kB / 0.6791 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.3703, allocations: 101.9 kB / 0.6792 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.373e-05/0.3704, allocations: 69.81 kB / 0.6793 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.3704, allocations: 5.094 kB / 0.6793 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.3706, allocations: 150.7 kB / 0.6794 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.3706, allocations: 0 / 0.6794 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0004143/0.3711, allocations: 298 kB / 0.6797 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.3711, allocations: 109.5 kB / 0.6798 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.3713, allocations: 207.9 kB / 0.68 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.3713, allocations: 26.8 kB / 0.68 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.3714, allocations: 115.1 kB / 0.6802 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.3714, allocations: 31.45 kB / 0.6802 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.3715, allocations: 27.14 kB / 0.6802 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.529e-05/0.3716, allocations: 332 kB / 0.6805 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.681e-05/0.3717, allocations: 50.02 kB / 0.6806 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.142e-05/0.3717, allocations: 70.53 kB / 0.6806 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.3719, allocations: 178.1 kB / 0.6808 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.3719, allocations: 0 / 0.6808 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002624/0.3722, allocations: 251.3 kB / 0.6811 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/0.3722, allocations: 33.02 kB / 0.6811 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3722, allocations: 0 / 0.6811 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3722, allocations: 1.5 kB / 0.6811 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.834e-05/0.3723, allocations: 11.17 kB / 0.6811 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3723, allocations: 0 / 0.6811 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.696e-05/0.3724, allocations: 12.34 kB / 0.6811 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.3724, allocations: 2.875 kB / 0.6811 GB, free: 12.39 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.000125/0.3726, allocations: 177.2 kB / 0.6813 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.3726, allocations: 17.31 kB / 0.6813 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.3727, allocations: 72.09 kB / 0.6814 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.3727, allocations: 1.688 kB / 0.6814 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3728, allocations: 0 / 0.6814 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3728, allocations: 6.062 kB / 0.6814 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.3729, allocations: 216.1 kB / 0.6816 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3729, allocations: 1.062 kB / 0.6816 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-05/0.373, allocations: 7.062 kB / 0.6816 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.373, allocations: 5.047 kB / 0.6816 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.373, allocations: 3.531 kB / 0.6816 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.373, allocations: 3.938 kB / 0.6816 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.373, allocations: 1.125 kB / 0.6816 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.3733, allocations: 317.7 kB / 0.6819 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.111e-05/0.3734, allocations: 104.9 kB / 0.682 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.3735, allocations: 3.375 kB / 0.682 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.506e-05/0.3735, allocations: 3.312 kB / 0.682 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.3736, allocations: 7.609 kB / 0.682 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.3736, allocations: 7.625 kB / 0.682 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000112/0.3737, allocations: 158.2 kB / 0.6822 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3737, allocations: 0 / 0.6822 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002419/0.374, allocations: 36.31 kB / 0.6822 GB, free: 11.48 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.0005997/0.3746, allocations: 0.8686 MB / 0.6831 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002524/0.3748, allocations: 221 kB / 0.6833 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3748, allocations: 1.375 kB / 0.6833 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.375, allocations: 155.5 kB / 0.6834 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.3752, allocations: 14.16 kB / 0.6834 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.3771, allocations: 2.085 MB / 0.6855 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.3773, allocations: 0.7204 MB / 0.6862 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.938e-05/0.3774, allocations: 6.859 kB / 0.6862 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.952e-05/0.3774, allocations: 33.91 kB / 0.6862 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.3774, allocations: 0 / 0.6862 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.3971, allocations: 3.098 MB / 0.6892 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.024/7.421, allocations: 14.25 kB / 0.6892 GB, free: 6.609 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)