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.0006923/0.0006924, allocations: 98.66 kB / 16.02 MB, free: 80 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.0007239/0.000724, allocations: 182.9 kB / 16.92 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.203/1.203, 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.6239/0.6239, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002869/0.0002869, allocations: 12 kB / 496 MB, free: 6.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1234, allocations: 77.53 MB / 0.56 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001617/0.125, allocations: 1.306 MB / 0.5613 GB, free: 7.629 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.1261, allocations: 0.6469 MB / 0.5619 GB, free: 6.977 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.572e-05/0.1262, allocations: 0 / 0.5619 GB, free: 6.977 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.1263, allocations: 79.81 kB / 0.562 GB, free: 6.898 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002351/0.1266, allocations: 99.67 kB / 0.5621 GB, free: 6.801 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.1268, allocations: 79.09 kB / 0.5622 GB, free: 6.727 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.127, allocations: 123.7 kB / 0.5623 GB, free: 6.605 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.179e-05/0.1271, allocations: 8 kB / 0.5623 GB, free: 6.598 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.1272, allocations: 71.75 kB / 0.5624 GB, free: 6.527 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.1274, allocations: 95.77 kB / 0.5625 GB, free: 6.434 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1274, allocations: 4 kB / 0.5625 GB, free: 6.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.1275, allocations: 71.94 kB / 0.5626 GB, free: 6.359 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.65e-05/0.1276, allocations: 31.91 kB / 0.5626 GB, free: 6.328 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.972e-05/0.1277, allocations: 89.23 kB / 0.5627 GB, free: 6.234 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.1279, allocations: 159.7 kB / 0.5628 GB, free: 6.078 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1279, allocations: 0 / 0.5628 GB, free: 6.078 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1279, allocations: 0 / 0.5628 GB, free: 6.078 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.1279, allocations: 0 / 0.5628 GB, free: 6.078 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.0005707/0.1285, allocations: 460.5 kB / 0.5633 GB, free: 5.574 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1285, allocations: 8.031 kB / 0.5633 GB, free: 5.566 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.879e-05/0.1286, allocations: 34.75 kB / 0.5633 GB, free: 5.523 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.1286, allocations: 20.66 kB / 0.5633 GB, free: 5.504 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.1288, allocations: 219.9 kB / 0.5635 GB, free: 5.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.1289, allocations: 4.375 kB / 0.5635 GB, free: 5.246 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.1289, allocations: 4.375 kB / 0.5635 GB, free: 5.242 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.1291, allocations: 127.4 kB / 0.5637 GB, free: 5.105 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.1291, allocations: 0 / 0.5637 GB, free: 5.105 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1291, allocations: 4 kB / 0.5637 GB, free: 5.102 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1291, allocations: 0 / 0.5637 GB, free: 5.102 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.1292, allocations: 71.91 kB / 0.5637 GB, free: 5.031 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.1297, allocations: 412.9 kB / 0.5641 GB, free: 4.574 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.1298, allocations: 117.1 kB / 0.5642 GB, free: 4.441 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.1299, allocations: 81.78 kB / 0.5643 GB, free: 4.355 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.13, allocations: 8 kB / 0.5643 GB, free: 4.348 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.1302, allocations: 170.8 kB / 0.5645 GB, free: 4.156 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.1302, allocations: 0 / 0.5645 GB, free: 4.156 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005024/0.1307, allocations: 339.1 kB / 0.5648 GB, free: 3.812 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.1308, allocations: 106.8 kB / 0.5649 GB, free: 3.684 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.131, allocations: 219.2 kB / 0.5651 GB, free: 3.457 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.131, allocations: 29.7 kB / 0.5651 GB, free: 3.422 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.988e-05/0.1311, allocations: 112.1 kB / 0.5653 GB, free: 3.309 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.1312, allocations: 35.55 kB / 0.5653 GB, free: 3.273 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.1312, allocations: 21.66 kB / 0.5653 GB, free: 3.246 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1313, allocations: 326.8 kB / 0.5656 GB, free: 2.918 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.348e-05/0.1314, allocations: 67.91 kB / 0.5657 GB, free: 2.852 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.419e-05/0.1315, allocations: 81.62 kB / 0.5658 GB, free: 2.766 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.1317, allocations: 193.1 kB / 0.5659 GB, free: 2.559 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1317, allocations: 0 / 0.5659 GB, free: 2.559 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003085/0.132, allocations: 271 kB / 0.5662 GB, free: 2.281 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/0.1321, allocations: 37.7 kB / 0.5662 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1321, allocations: 0 / 0.5662 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.1321, allocations: 0 / 0.5662 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.954e-05/0.1322, allocations: 19.92 kB / 0.5663 GB, free: 2.219 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1322, allocations: 0 / 0.5663 GB, free: 2.219 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.668e-05/0.1323, allocations: 8 kB / 0.5663 GB, free: 2.211 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.1323, allocations: 11.98 kB / 0.5663 GB, free: 2.199 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.0001398/0.1325, allocations: 176.3 kB / 0.5664 GB, free: 2.012 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.1325, allocations: 23.8 kB / 0.5665 GB, free: 1.988 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/0.1327, allocations: 95.02 kB / 0.5666 GB, free: 1.891 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1327, allocations: 0 / 0.5666 GB, free: 1.891 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1327, allocations: 4 kB / 0.5666 GB, free: 1.887 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1328, allocations: 4 kB / 0.5666 GB, free: 1.883 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.133, allocations: 237.3 kB / 0.5668 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.133, allocations: 0 / 0.5668 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.246e-05/0.133, allocations: 12.38 kB / 0.5668 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.133, allocations: 4 kB / 0.5668 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.1331, allocations: 7.984 kB / 0.5668 GB, free: 1.578 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1331, allocations: 4 kB / 0.5668 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1331, allocations: 0 / 0.5668 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003941/0.1335, allocations: 339.4 kB / 0.5671 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.156e-05/0.1335, allocations: 101 kB / 0.5672 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.1336, allocations: 7.938 kB / 0.5673 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.447e-05/0.1337, allocations: 11.98 kB / 0.5673 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.1337, allocations: 11.98 kB / 0.5673 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.1338, allocations: 7.938 kB / 0.5673 GB, free: 1.059 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.1339, allocations: 163 kB / 0.5674 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1339, allocations: 0 / 0.5674 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.1342, allocations: 55.94 kB / 0.5675 GB, free: 0.8438 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.00072/0.1349, allocations: 0.8936 MB / 0.5684 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002915/0.1352, allocations: 243.2 kB / 0.5686 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1352, allocations: 4 kB / 0.5686 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.1354, allocations: 163.3 kB / 0.5688 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.1356, allocations: 8 kB / 0.5688 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.1378, allocations: 2.268 MB / 0.571 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.1381, allocations: 0.7278 MB / 0.5717 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.516e-05/0.1382, allocations: 7.984 kB / 0.5717 GB, free: 12.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.474e-05/0.1382, allocations: 43.36 kB / 0.5717 GB, free: 12.3 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1382, allocations: 0 / 0.5717 GB, free: 12.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5454/0.6836, allocations: 3.178 MB / 0.5748 GB, free: 9.328 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/0.6838, allocations: 225.7 kB / 0.5751 GB, free: 9.078 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.597/2.281, allocations: 2.969 kB / 0.5751 GB, free: 9.078 MB / 446.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)