Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IDEAS_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.001983/0.001984, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7749/0.7749, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.798/1.798, allocations: 221.3 MB / 400.4 MB, free: 5.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001119, allocations: 95.83 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.825e-05/3.837e-05, allocations: 2.688 kB / 0.5601 GB, free: 87.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1915, allocations: 82.3 MB / 0.6405 GB, free: 7.734 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.87/1.062, allocations: 112.7 MB / 0.7506 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/1.062, allocations: 84.05 kB / 0.7506 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.009424/1.071, allocations: 3.262 MB / 0.7538 GB, free: 27.56 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.515e-06/1.071, allocations: 0 / 0.7538 GB, free: 27.56 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.553e-05/1.071, allocations: 0 / 0.7538 GB, free: 27.56 MB / 0.5105 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.0006738/1.072, allocations: 437.1 kB / 0.7542 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.545e-05/1.072, allocations: 7.656 kB / 0.7543 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.478e-05/1.072, allocations: 45.19 kB / 0.7543 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/1.072, allocations: 18.19 kB / 0.7543 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/1.073, allocations: 211 kB / 0.7545 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/1.073, allocations: 3.812 kB / 0.7545 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/1.073, allocations: 7 kB / 0.7545 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/1.073, allocations: 134 kB / 0.7547 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/1.073, allocations: 0 / 0.7547 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/1.073, allocations: 3.062 kB / 0.7547 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/1.073, allocations: 4 kB / 0.7547 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/1.073, allocations: 77.7 kB / 0.7547 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005568/1.074, allocations: 398.4 kB / 0.7551 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/1.074, allocations: 115.7 kB / 0.7552 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/1.074, allocations: 93.23 kB / 0.7553 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/1.074, allocations: 0 / 0.7553 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002306/1.074, allocations: 176.8 kB / 0.7555 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/1.074, allocations: 3.938 kB / 0.7555 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.000572/1.075, allocations: 300.1 kB / 0.7558 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/1.075, allocations: 110.7 kB / 0.7559 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/1.075, allocations: 185.5 kB / 0.7561 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/1.075, allocations: 25.7 kB / 0.7561 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/1.075, allocations: 110.3 kB / 0.7562 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/1.075, allocations: 29.16 kB / 0.7562 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/1.075, allocations: 0 / 0.7562 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001413/1.075, allocations: 330.6 kB / 0.7565 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.737e-05/1.076, allocations: 69.34 kB / 0.7566 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.615e-05/1.076, allocations: 84.88 kB / 0.7567 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/1.076, allocations: 104 kB / 0.7568 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.076, allocations: 0 / 0.7568 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003918/1.076, allocations: 306.8 kB / 0.7571 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/1.076, allocations: 36.14 kB / 0.7571 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/1.076, allocations: 0 / 0.7571 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/1.076, allocations: 0 / 0.7571 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.953e-05/1.076, allocations: 15.66 kB / 0.7571 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/1.076, allocations: 4.656 kB / 0.7571 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.448e-05/1.076, allocations: 6.766 kB / 0.7571 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/1.076, allocations: 14.8 kB / 0.7571 GB, free: 25.37 MB / 0.5105 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 () * 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.0001203/1.077, allocations: 145.6 kB / 0.7573 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/1.077, allocations: 15.38 kB / 0.7573 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/1.077, allocations: 67.95 kB / 0.7574 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/1.077, allocations: 0 / 0.7574 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/1.077, allocations: 10.33 kB / 0.7574 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.077, allocations: 0 / 0.7574 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/1.077, allocations: 234 kB / 0.7576 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.077, allocations: 0 / 0.7576 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-05/1.077, allocations: 7.688 kB / 0.7576 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/1.077, allocations: 0 / 0.7576 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/1.077, allocations: 6.312 kB / 0.7576 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/1.077, allocations: 3.844 kB / 0.7576 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.077, allocations: 0 / 0.7576 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005117/1.078, allocations: 372.4 kB / 0.758 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/1.078, allocations: 113.6 kB / 0.7581 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/1.078, allocations: 5.781 kB / 0.7581 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.186e-05/1.078, allocations: 11.33 kB / 0.7581 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/1.078, allocations: 1.906 kB / 0.7581 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/1.078, allocations: 13.94 kB / 0.7581 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001504/1.078, allocations: 159 kB / 0.7583 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/1.078, allocations: 0 / 0.7583 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002677/1.078, allocations: 52.27 kB / 0.7583 GB, free: 24.64 MB / 0.5105 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) * 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.0007617/1.079, allocations: 0.9372 MB / 0.7592 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002418/1.079, allocations: 218.9 kB / 0.7594 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/1.079, allocations: 0 / 0.7594 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/1.08, allocations: 152.5 kB / 0.7596 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/1.08, allocations: 16.31 kB / 0.7596 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006104/1.08, allocations: 302.1 kB / 0.7599 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/1.081, allocations: 0.7283 MB / 0.7606 GB, free: 22.91 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.496e-05/1.081, allocations: 7.969 kB / 0.7606 GB, free: 22.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.173e-05/1.081, allocations: 35.84 kB / 0.7606 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of SimCode: time 3.31e-07/1.081, allocations: 0 / 0.7606 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01607/1.097, allocations: 2.742 MB / 0.7633 GB, free: 21.72 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/1.097, allocations: 176 kB / 0.7635 GB, free: 21.49 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/2.866, allocations: 3.938 kB / 0.7635 GB, free: 21.49 MB / 0.5105 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)