Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IDEAS_dev_IDEAS_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.006157/0.006157, allocations: 170.7 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7419/0.7419, allocations: 135.2 MB / 151 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 223.2 MB / 406.8 MB, free: 3.238 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009365/0.0009366, allocations: 99.22 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003382, allocations: 12 kB / 0.5692 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4212, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1484/0.5697, allocations: 112.8 MB / 0.7597 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/0.5701, allocations: 83.95 kB / 0.7597 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009578/0.5797, allocations: 3.275 MB / 0.7629 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.435e-06/0.5797, allocations: 0 / 0.7629 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.649e-06/0.5797, allocations: 4 kB / 0.7629 GB, free: 15.86 MB / 0.5417 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.0006135/0.5804, allocations: 464.2 kB / 0.7634 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/0.5804, allocations: 8.031 kB / 0.7634 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.186e-05/0.5805, allocations: 34.56 kB / 0.7634 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.179e-05/0.5806, allocations: 15.81 kB / 0.7634 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.5809, allocations: 215.6 kB / 0.7636 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.5809, allocations: 8 kB / 0.7636 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.581, allocations: 4 kB / 0.7636 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.5812, allocations: 131.3 kB / 0.7638 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.5813, allocations: 0 / 0.7638 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.5813, allocations: 0 / 0.7638 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.5813, allocations: 7.984 kB / 0.7638 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.5814, allocations: 79.95 kB / 0.7639 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004908/0.5819, allocations: 396.9 kB / 0.7642 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.5821, allocations: 113.1 kB / 0.7643 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.5822, allocations: 3.938 kB / 0.7643 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002471/0.5824, allocations: 178.8 kB / 0.7645 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.5824, allocations: 0 / 0.7645 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.0007314/0.5832, allocations: 462.2 kB / 0.765 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.828e-05/0.5832, allocations: 106.8 kB / 0.7651 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.5834, allocations: 176.3 kB / 0.7652 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.5834, allocations: 37.83 kB / 0.7653 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.048e-05/0.5835, allocations: 108.1 kB / 0.7654 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.5836, allocations: 23.66 kB / 0.7654 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-06/0.5836, allocations: 0 / 0.7654 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.5837, allocations: 335.5 kB / 0.7657 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.479e-05/0.5838, allocations: 71.91 kB / 0.7658 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.949e-05/0.5839, allocations: 93.55 kB / 0.7659 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.584, allocations: 105.6 kB / 0.766 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.584, allocations: 0 / 0.766 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003963/0.5844, allocations: 307.1 kB / 0.7663 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/0.5845, allocations: 33.7 kB / 0.7663 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.5845, allocations: 3.984 kB / 0.7663 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.5845, allocations: 7.984 kB / 0.7663 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.437e-05/0.5846, allocations: 4 kB / 0.7663 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.5846, allocations: 4 kB / 0.7663 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.232e-05/0.5847, allocations: 4 kB / 0.7663 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/0.5847, allocations: 8 kB / 0.7663 GB, free: 12.07 MB / 0.5417 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 ($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.0001473/0.5849, allocations: 184.7 kB / 0.7665 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.5849, allocations: 19.81 kB / 0.7665 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001626/0.5851, allocations: 67.02 kB / 0.7666 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.5851, allocations: 4 kB / 0.7666 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.5851, allocations: 0 / 0.7666 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.5851, allocations: 0 / 0.7666 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.5853, allocations: 229.4 kB / 0.7668 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.5853, allocations: 8 kB / 0.7668 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.238e-05/0.5854, allocations: 4 kB / 0.7668 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.5854, allocations: 4 kB / 0.7668 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.5854, allocations: 4 kB / 0.7668 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.5854, allocations: 3.984 kB / 0.7668 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5854, allocations: 0 / 0.7668 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005341/0.586, allocations: 378.9 kB / 0.7672 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.5861, allocations: 113 kB / 0.7673 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.262e-05/0.5861, allocations: 4 kB / 0.7673 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.137e-05/0.5862, allocations: 4.125 kB / 0.7673 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.5862, allocations: 7.984 kB / 0.7673 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/0.5863, allocations: 16 kB / 0.7673 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001261/0.5864, allocations: 157.1 kB / 0.7675 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5864, allocations: 0 / 0.7675 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002474/0.5867, allocations: 51.88 kB / 0.7675 GB, free: 10.71 MB / 0.5417 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 (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.00074/0.5874, allocations: 0.9467 MB / 0.7685 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002633/0.5877, allocations: 211.3 kB / 0.7687 GB, free: 9.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5877, allocations: 3.938 kB / 0.7687 GB, free: 9.496 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.5878, allocations: 151.4 kB / 0.7688 GB, free: 9.336 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.588, allocations: 8.188 kB / 0.7688 GB, free: 9.324 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.5895, allocations: 1.228 MB / 0.77 GB, free: 8.035 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.5898, allocations: 0.7236 MB / 0.7707 GB, free: 7.285 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.287e-05/0.5899, allocations: 11.89 kB / 0.7707 GB, free: 7.273 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.384e-05/0.5899, allocations: 39.42 kB / 0.7708 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of SimCode: time 4.51e-07/0.5899, allocations: 0 / 0.7708 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01331/0.6032, allocations: 2.735 MB / 0.7734 GB, free: 4.684 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/0.6035, allocations: 194.8 kB / 0.7736 GB, free: 4.449 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/2.257, allocations: 1.969 kB / 0.7736 GB, free: 4.449 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)