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.001641/0.001641, allocations: 179.7 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5024/0.5024, allocations: 90.81 MB / 104.5 MB, free: 9.789 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.561/1.561, allocations: 221.3 MB / 348.3 MB, free: 476 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001054, allocations: 98.62 kB / 421.2 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.765e-05/4.784e-05, allocations: 4 kB / 0.4897 GB, free: 5.262 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.509/0.5091, allocations: 72.3 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1484/0.6575, allocations: 102.9 MB / 0.6608 GB, free: 1.391 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/0.6579, allocations: 83.95 kB / 0.6609 GB, free: 1.309 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009263/0.6672, allocations: 3.265 MB / 0.6641 GB, free: 14.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.6672, allocations: 0 / 0.6641 GB, free: 14.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.6672, allocations: 0 / 0.6641 GB, free: 14.05 MB / 490.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.0004931/0.6677, allocations: 439.8 kB / 0.6645 GB, free: 13.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.6678, allocations: 11.98 kB / 0.6645 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.387e-05/0.6679, allocations: 34.5 kB / 0.6646 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.481e-05/0.6679, allocations: 20.33 kB / 0.6646 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.6682, allocations: 215.6 kB / 0.6648 GB, free: 13.24 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.6683, allocations: 4 kB / 0.6648 GB, free: 13.24 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.6683, allocations: 8 kB / 0.6648 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.6686, allocations: 129.9 kB / 0.6649 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.6686, allocations: 0 / 0.6649 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.6686, allocations: 4 kB / 0.6649 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.6686, allocations: 3.953 kB / 0.6649 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.6688, allocations: 83.89 kB / 0.665 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005237/0.6693, allocations: 396.9 kB / 0.6654 GB, free: 12.56 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.6695, allocations: 117.8 kB / 0.6655 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.6697, allocations: 97.78 kB / 0.6656 GB, free: 12.33 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.6697, allocations: 0 / 0.6656 GB, free: 12.33 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002399/0.6699, allocations: 178.7 kB / 0.6658 GB, free: 12.13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.67, allocations: 0 / 0.6658 GB, free: 12.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006091/0.6706, allocations: 300.6 kB / 0.666 GB, free: 11.82 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/0.6706, allocations: 106.8 kB / 0.6661 GB, free: 11.69 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.6709, allocations: 186.2 kB / 0.6663 GB, free: 11.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.6709, allocations: 29.7 kB / 0.6663 GB, free: 11.47 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.353e-05/0.671, allocations: 116 kB / 0.6665 GB, free: 11.35 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.689e-05/0.671, allocations: 27.8 kB / 0.6665 GB, free: 11.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.046e-06/0.6711, allocations: 0 / 0.6665 GB, free: 11.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.6712, allocations: 326.8 kB / 0.6668 GB, free: 11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.6713, allocations: 71.95 kB / 0.6669 GB, free: 10.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.6714, allocations: 85.62 kB / 0.6669 GB, free: 10.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.6716, allocations: 98.59 kB / 0.667 GB, free: 10.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6716, allocations: 4 kB / 0.667 GB, free: 10.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004669/0.6721, allocations: 309.4 kB / 0.6673 GB, free: 10.42 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.36e-05/0.6721, allocations: 37.69 kB / 0.6674 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.6721, allocations: 4 kB / 0.6674 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.6722, allocations: 3.953 kB / 0.6674 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.895e-05/0.6723, allocations: 8 kB / 0.6674 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.6723, allocations: 0 / 0.6674 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.939e-05/0.6723, allocations: 7.906 kB / 0.6674 GB, free: 10.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.498e-05/0.6724, allocations: 11.98 kB / 0.6674 GB, free: 10.34 MB / 490.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 () * 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.0001341/0.6725, allocations: 148.1 kB / 0.6676 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.6726, allocations: 11.91 kB / 0.6676 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001794/0.6728, allocations: 67.2 kB / 0.6676 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.6728, allocations: 3.953 kB / 0.6676 GB, free: 10.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.6728, allocations: 0 / 0.6676 GB, free: 10.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.6728, allocations: 0 / 0.6676 GB, free: 10.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.673, allocations: 229.4 kB / 0.6678 GB, free: 9.828 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.673, allocations: 0 / 0.6678 GB, free: 9.828 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.868e-05/0.6731, allocations: 8.141 kB / 0.6679 GB, free: 9.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.371e-06/0.6731, allocations: 11.92 kB / 0.6679 GB, free: 9.809 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.6731, allocations: 7.984 kB / 0.6679 GB, free: 9.801 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.6732, allocations: 0 / 0.6679 GB, free: 9.801 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.6732, allocations: 4.609 kB / 0.6679 GB, free: 9.797 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005907/0.6738, allocations: 378.6 kB / 0.6682 GB, free: 9.395 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.6739, allocations: 108.9 kB / 0.6683 GB, free: 9.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.6739, allocations: 8 kB / 0.6684 GB, free: 9.262 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.648e-05/0.674, allocations: 11.94 kB / 0.6684 GB, free: 9.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.6741, allocations: 8 kB / 0.6684 GB, free: 9.242 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.6741, allocations: 8 kB / 0.6684 GB, free: 9.234 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00016/0.6743, allocations: 155.1 kB / 0.6685 GB, free: 9.086 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6743, allocations: 0 / 0.6685 GB, free: 9.086 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002712/0.6746, allocations: 44 kB / 0.6686 GB, free: 9.043 MB / 490.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) * 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.0008689/0.6754, allocations: 0.952 MB / 0.6695 GB, free: 8.055 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002987/0.6758, allocations: 219.3 kB / 0.6697 GB, free: 7.828 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.6758, allocations: 0 / 0.6697 GB, free: 7.828 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.6759, allocations: 143.4 kB / 0.6698 GB, free: 7.676 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.6761, allocations: 20.95 kB / 0.6699 GB, free: 7.656 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006864/0.6768, allocations: 299.9 kB / 0.6702 GB, free: 7.324 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.6772, allocations: 0.7174 MB / 0.6709 GB, free: 6.582 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.739e-05/0.6772, allocations: 7.984 kB / 0.6709 GB, free: 6.574 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.01e-05/0.6773, allocations: 39.44 kB / 0.6709 GB, free: 6.535 MB / 490.7 MB Notification: Performance of SimCode: time 4.21e-07/0.6773, allocations: 0 / 0.6709 GB, free: 6.535 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01896/0.6962, allocations: 2.755 MB / 0.6736 GB, free: 3.984 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/0.6965, allocations: 180.7 kB / 0.6738 GB, free: 3.758 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/2.435, allocations: 0 / 0.6738 GB, free: 3.758 MB / 490.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)