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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009735/0.0009734, allocations: 182.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5562/0.5562, allocations: 91.98 MB / 108.5 MB, free: 13.1 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 223.1 MB / 354.3 MB, free: 12.27 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 100 kB / 427.4 MB, free: 3.957 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.000361, allocations: 8 kB / 0.4983 GB, free: 42.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1523, allocations: 72.31 MB / 0.5689 GB, free: 1.859 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4687/0.6211, allocations: 103 MB / 0.6695 GB, free: 1.363 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.6214, allocations: 87.94 kB / 0.6696 GB, free: 1.277 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009576/0.631, allocations: 3.274 MB / 0.6728 GB, free: 14.02 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.476e-06/0.6311, allocations: 3.938 kB / 0.6728 GB, free: 14.01 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.6311, allocations: 3.938 kB / 0.6728 GB, free: 14.01 MB / 474.7 MB 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.0005288/0.6316, allocations: 460.9 kB / 0.6732 GB, free: 13.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.6317, allocations: 16.02 kB / 0.6732 GB, free: 13.49 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.103e-05/0.6317, allocations: 30.56 kB / 0.6733 GB, free: 13.45 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.6318, allocations: 19.77 kB / 0.6733 GB, free: 13.43 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.6321, allocations: 219.5 kB / 0.6735 GB, free: 13.17 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.6321, allocations: 8 kB / 0.6735 GB, free: 13.16 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.6322, allocations: 0 / 0.6735 GB, free: 13.16 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.6324, allocations: 131.3 kB / 0.6736 GB, free: 13.02 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.6324, allocations: 0 / 0.6736 GB, free: 13.02 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.6324, allocations: 4 kB / 0.6736 GB, free: 13.02 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.6324, allocations: 3.953 kB / 0.6736 GB, free: 13.02 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.6326, allocations: 79.94 kB / 0.6737 GB, free: 12.94 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004516/0.633, allocations: 404.8 kB / 0.6741 GB, free: 12.49 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.6332, allocations: 121.1 kB / 0.6742 GB, free: 12.35 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.6332, allocations: 0 / 0.6742 GB, free: 12.35 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002097/0.6334, allocations: 178.8 kB / 0.6744 GB, free: 12.15 MB / 474.7 MB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.6334, allocations: 0 / 0.6744 GB, free: 12.15 MB / 474.7 MB Notification: Performance of matching and sorting (n=10): time 0.000663/0.6341, allocations: 454.3 kB / 0.6748 GB, free: 11.68 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.6342, allocations: 114.8 kB / 0.6749 GB, free: 11.54 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.6343, allocations: 174.3 kB / 0.6751 GB, free: 11.36 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.6344, allocations: 33.7 kB / 0.6751 GB, free: 11.32 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.392e-05/0.6344, allocations: 112.1 kB / 0.6752 GB, free: 11.21 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.6345, allocations: 23.66 kB / 0.6752 GB, free: 11.19 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/0.6345, allocations: 4 kB / 0.6753 GB, free: 11.18 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.6346, allocations: 327.5 kB / 0.6756 GB, free: 10.86 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.953e-05/0.6347, allocations: 71.95 kB / 0.6756 GB, free: 10.79 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.6348, allocations: 81.67 kB / 0.6757 GB, free: 10.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.635, allocations: 105.6 kB / 0.6758 GB, free: 10.59 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.635, allocations: 0 / 0.6758 GB, free: 10.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004011/0.6354, allocations: 315 kB / 0.6761 GB, free: 10.27 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.622e-05/0.6354, allocations: 33.7 kB / 0.6761 GB, free: 10.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.6355, allocations: 7.984 kB / 0.6762 GB, free: 10.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.6355, allocations: 3.953 kB / 0.6762 GB, free: 10.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.524e-05/0.6356, allocations: 11.98 kB / 0.6762 GB, free: 10.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.6356, allocations: 0 / 0.6762 GB, free: 10.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.727e-05/0.6356, allocations: 4 kB / 0.6762 GB, free: 10.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.6357, allocations: 8 kB / 0.6762 GB, free: 10.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,$PRE.solDecNOAA.nextEvent,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.6358, allocations: 183.6 kB / 0.6764 GB, free: 10 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.568e-05/0.6359, allocations: 23.81 kB / 0.6764 GB, free: 9.977 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.6361, allocations: 70.95 kB / 0.6764 GB, free: 9.895 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.6361, allocations: 0 / 0.6764 GB, free: 9.895 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.6361, allocations: 7.953 kB / 0.6765 GB, free: 9.887 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.6361, allocations: 0 / 0.6765 GB, free: 9.887 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.6363, allocations: 221.5 kB / 0.6767 GB, free: 9.621 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.6363, allocations: 0 / 0.6767 GB, free: 9.621 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.894e-05/0.6363, allocations: 8 kB / 0.6767 GB, free: 9.613 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.6363, allocations: 4 kB / 0.6767 GB, free: 9.609 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.6364, allocations: 4 kB / 0.6767 GB, free: 9.605 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.6364, allocations: 4 kB / 0.6767 GB, free: 9.602 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6364, allocations: 0 / 0.6767 GB, free: 9.602 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000505/0.6369, allocations: 377.9 kB / 0.677 GB, free: 9.199 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.637, allocations: 120.9 kB / 0.6772 GB, free: 9.062 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.6371, allocations: 8 kB / 0.6772 GB, free: 9.055 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.345e-05/0.6371, allocations: 4 kB / 0.6772 GB, free: 9.051 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.6372, allocations: 11.94 kB / 0.6772 GB, free: 9.039 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.6372, allocations: 12 kB / 0.6772 GB, free: 9.027 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001149/0.6373, allocations: 157.1 kB / 0.6773 GB, free: 8.875 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6373, allocations: 3.938 kB / 0.6773 GB, free: 8.871 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002572/0.6376, allocations: 43.94 kB / 0.6774 GB, free: 8.828 MB / 474.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007216/0.6383, allocations: 0.9351 MB / 0.6783 GB, free: 7.852 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002643/0.6386, allocations: 211.3 kB / 0.6785 GB, free: 7.633 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6386, allocations: 0 / 0.6785 GB, free: 7.633 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.6387, allocations: 151.3 kB / 0.6786 GB, free: 7.473 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.6389, allocations: 20.14 kB / 0.6787 GB, free: 7.449 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.6403, allocations: 1.217 MB / 0.6799 GB, free: 6.176 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.6406, allocations: 0.7236 MB / 0.6806 GB, free: 5.426 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.179e-05/0.6407, allocations: 4 kB / 0.6806 GB, free: 5.422 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.162e-05/0.6407, allocations: 40.3 kB / 0.6806 GB, free: 5.383 MB / 474.7 MB Notification: Performance of SimCode: time 4.21e-07/0.6407, allocations: 0 / 0.6806 GB, free: 5.383 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01497/0.6557, allocations: 2.744 MB / 0.6833 GB, free: 2.82 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003011/0.6561, allocations: 211.8 kB / 0.6835 GB, free: 2.57 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/2.416, allocations: 0 / 0.6835 GB, free: 2.57 MB / 474.7 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/linux/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)