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.006593/0.006594, allocations: 170 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7224/0.7224, allocations: 135.2 MB / 151 MB, free: 13.81 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.525/1.525, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.0009418/0.0009417, allocations: 97.97 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003914, allocations: 12 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4637/0.4641, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1534/0.6175, allocations: 112.8 MB / 0.7597 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.6178, allocations: 83.95 kB / 0.7597 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.008821/0.6266, allocations: 3.267 MB / 0.7629 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6266, allocations: 0 / 0.7629 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.6267, allocations: 4 kB / 0.7629 GB, free: 15.84 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.0005019/0.6272, allocations: 464.2 kB / 0.7634 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.6272, allocations: 19.95 kB / 0.7634 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.799e-05/0.6273, allocations: 30.56 kB / 0.7634 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.6273, allocations: 15.81 kB / 0.7634 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.6276, allocations: 215.6 kB / 0.7637 GB, free: 15 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.6276, allocations: 4 kB / 0.7637 GB, free: 15 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.6276, allocations: 0 / 0.7637 GB, free: 15 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.6279, allocations: 135.3 kB / 0.7638 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.6279, allocations: 0 / 0.7638 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.6279, allocations: 4 kB / 0.7638 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.6279, allocations: 0 / 0.7638 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.6281, allocations: 79.94 kB / 0.7639 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004802/0.6286, allocations: 400.9 kB / 0.7642 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.6287, allocations: 117.1 kB / 0.7644 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.6288, allocations: 3.938 kB / 0.7644 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.629, allocations: 174.8 kB / 0.7645 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.629, allocations: 0 / 0.7645 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.0006741/0.6297, allocations: 454.1 kB / 0.765 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.6297, allocations: 114.8 kB / 0.7651 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.6299, allocations: 180.3 kB / 0.7652 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.63, allocations: 29.7 kB / 0.7653 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.234e-05/0.63, allocations: 108.1 kB / 0.7654 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.6301, allocations: 19.66 kB / 0.7654 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.264e-05/0.6301, allocations: 8 kB / 0.7654 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.6302, allocations: 327.6 kB / 0.7657 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.763e-05/0.6303, allocations: 79.89 kB / 0.7658 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.95e-05/0.6304, allocations: 85.61 kB / 0.7659 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.6306, allocations: 101.7 kB / 0.766 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.6306, allocations: 0 / 0.766 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004065/0.631, allocations: 311 kB / 0.7663 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/0.631, allocations: 34.95 kB / 0.7663 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.631, allocations: 0 / 0.7663 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.6311, allocations: 4.094 kB / 0.7663 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.094e-05/0.6312, allocations: 15.98 kB / 0.7663 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.6312, allocations: 0 / 0.7663 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.074e-05/0.6312, allocations: 8 kB / 0.7663 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.6313, allocations: 8 kB / 0.7663 GB, free: 12.04 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.0001535/0.6314, allocations: 187.5 kB / 0.7665 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.6315, allocations: 15.81 kB / 0.7665 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.6316, allocations: 75.09 kB / 0.7666 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.6317, allocations: 0 / 0.7666 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.6317, allocations: 4 kB / 0.7666 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.6317, allocations: 0 / 0.7666 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.6319, allocations: 225.4 kB / 0.7668 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.6319, allocations: 0 / 0.7668 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.429e-05/0.6319, allocations: 8 kB / 0.7668 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.6319, allocations: 0 / 0.7668 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.632, allocations: 4 kB / 0.7668 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.632, allocations: 4 kB / 0.7668 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.632, allocations: 0 / 0.7668 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005553/0.6325, allocations: 386.9 kB / 0.7672 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.6327, allocations: 109 kB / 0.7673 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.6327, allocations: 4 kB / 0.7673 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.118e-05/0.6328, allocations: 4 kB / 0.7673 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.6328, allocations: 11.98 kB / 0.7673 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.6329, allocations: 8 kB / 0.7673 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001311/0.633, allocations: 161.1 kB / 0.7675 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.633, allocations: 0 / 0.7675 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002804/0.6333, allocations: 47.94 kB / 0.7675 GB, free: 10.69 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.000791/0.6341, allocations: 0.9481 MB / 0.7685 GB, free: 9.695 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002717/0.6344, allocations: 211.3 kB / 0.7687 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6344, allocations: 3.938 kB / 0.7687 GB, free: 9.473 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.6345, allocations: 151.4 kB / 0.7688 GB, free: 9.312 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.6347, allocations: 8.125 kB / 0.7688 GB, free: 9.301 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.6361, allocations: 1.229 MB / 0.77 GB, free: 8.012 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.6364, allocations: 0.7236 MB / 0.7707 GB, free: 7.262 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.147e-05/0.6365, allocations: 12.22 kB / 0.7707 GB, free: 7.25 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.6366, allocations: 35.42 kB / 0.7708 GB, free: 7.215 MB / 0.5417 GB Notification: Performance of SimCode: time 2.91e-07/0.6366, allocations: 0 / 0.7708 GB, free: 7.215 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01376/0.6503, allocations: 2.735 MB / 0.7734 GB, free: 4.641 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/0.6506, allocations: 189.3 kB / 0.7736 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/2.403, allocations: 0 / 0.7736 GB, free: 4.406 MB / 0.5417 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)