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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000714/0.000714, allocations: 97.33 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004426/0.004426, allocations: 170.5 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8805/0.8805, allocations: 135.3 MB / 426.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002952/0.0002953, allocations: 12.53 kB / 0.5077 GB, free: 4.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.141, allocations: 82.31 MB / 0.5881 GB, free: 2.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001554/0.1426, allocations: 1.207 MB / 0.5893 GB, free: 1.273 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000887/0.1435, allocations: 0.5807 MB / 0.5898 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.458e-05/0.1435, allocations: 4 kB / 0.5898 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.1437, allocations: 71.89 kB / 0.5899 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.1438, allocations: 75.81 kB / 0.59 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.1441, allocations: 71.86 kB / 0.59 GB, free: 480 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.1442, allocations: 99.73 kB / 0.5901 GB, free: 380 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.818e-05/0.1443, allocations: 4 kB / 0.5901 GB, free: 376 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.1444, allocations: 51.83 kB / 0.5902 GB, free: 324 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.1445, allocations: 83.83 kB / 0.5903 GB, free: 240 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.1446, allocations: 4 kB / 0.5903 GB, free: 236 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.1447, allocations: 71.92 kB / 0.5903 GB, free: 164 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.462e-05/0.1448, allocations: 35.86 kB / 0.5904 GB, free: 128 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.623e-05/0.1448, allocations: 69.38 kB / 0.5904 GB, free: 52 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.145, allocations: 127.9 kB / 0.5906 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.145, allocations: 0 / 0.5906 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.145, allocations: 0 / 0.5906 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.145, allocations: 0 / 0.5906 GB, free: 15.93 MB / 0.4981 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.0004861/0.1455, allocations: 440.6 kB / 0.591 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1456, allocations: 8.031 kB / 0.591 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.759e-05/0.1456, allocations: 38.69 kB / 0.591 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.812e-05/0.1457, allocations: 20.73 kB / 0.591 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.1459, allocations: 200.9 kB / 0.5912 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/0.1459, allocations: 4.375 kB / 0.5912 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.1459, allocations: 8.375 kB / 0.5913 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.1461, allocations: 107.4 kB / 0.5914 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-06/0.1461, allocations: 0 / 0.5914 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1462, allocations: 4 kB / 0.5914 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1462, allocations: 0 / 0.5914 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.179e-05/0.1463, allocations: 59.95 kB / 0.5914 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.1466, allocations: 301.7 kB / 0.5917 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.1468, allocations: 105.1 kB / 0.5918 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.63e-05/0.1469, allocations: 73.73 kB / 0.5919 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.1469, allocations: 0 / 0.5919 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001972/0.1471, allocations: 154.7 kB / 0.592 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 9.42e-07/0.1471, allocations: 0 / 0.592 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.000409/0.1475, allocations: 291.2 kB / 0.5923 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.1476, allocations: 114.8 kB / 0.5924 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.1478, allocations: 199.7 kB / 0.5926 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.1478, allocations: 33.83 kB / 0.5926 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.113e-05/0.1479, allocations: 108.1 kB / 0.5927 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.1479, allocations: 27.64 kB / 0.5928 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.1479, allocations: 17.72 kB / 0.5928 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.148, allocations: 330.8 kB / 0.5931 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.44e-05/0.1481, allocations: 51.97 kB / 0.5931 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.713e-05/0.1482, allocations: 65.64 kB / 0.5932 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.1484, allocations: 188.9 kB / 0.5934 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1484, allocations: 0 / 0.5934 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002785/0.1487, allocations: 239.1 kB / 0.5936 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.986e-05/0.1487, allocations: 44.03 kB / 0.5937 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1487, allocations: 4 kB / 0.5937 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1488, allocations: 0 / 0.5937 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.548e-05/0.1488, allocations: 4 kB / 0.5937 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1489, allocations: 4 kB / 0.5937 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.171e-05/0.1489, allocations: 11.88 kB / 0.5937 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.149, allocations: 8.031 kB / 0.5937 GB, free: 12.39 MB / 0.4981 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 (solDecNOAA.nextEventScaled,solDecNOAA.nextEvent,$PRE.solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000159/0.1491, allocations: 179.4 kB / 0.5939 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.1492, allocations: 15.81 kB / 0.5939 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.1493, allocations: 67.08 kB / 0.5939 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.1493, allocations: 0 / 0.5939 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1493, allocations: 4 kB / 0.5939 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1493, allocations: 64 / 0.5939 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.1495, allocations: 221.5 kB / 0.5942 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1495, allocations: 0 / 0.5942 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.434e-05/0.1496, allocations: 8 kB / 0.5942 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.1496, allocations: 0 / 0.5942 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.1496, allocations: 8 kB / 0.5942 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1496, allocations: 0 / 0.5942 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1496, allocations: 3.938 kB / 0.5942 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.15, allocations: 309.2 kB / 0.5945 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.545e-05/0.1501, allocations: 100.9 kB / 0.5946 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.1501, allocations: 7.984 kB / 0.5946 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.874e-05/0.1502, allocations: 8 kB / 0.5946 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.1502, allocations: 3.984 kB / 0.5946 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.1502, allocations: 7.984 kB / 0.5946 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001291/0.1504, allocations: 148.1 kB / 0.5947 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1504, allocations: 4 kB / 0.5947 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002439/0.1506, allocations: 40 kB / 0.5948 GB, free: 11.16 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007478/0.1514, allocations: 0.8599 MB / 0.5956 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002849/0.1517, allocations: 223.3 kB / 0.5958 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1517, allocations: 3.938 kB / 0.5958 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.1518, allocations: 147.4 kB / 0.596 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.1521, allocations: 23.7 kB / 0.596 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.1542, allocations: 2.114 MB / 0.5981 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.1545, allocations: 0.7158 MB / 0.5988 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.114e-05/0.1546, allocations: 4 kB / 0.5988 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.821e-05/0.1546, allocations: 39.36 kB / 0.5988 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of SimCode: time 6.61e-07/0.1547, allocations: 0 / 0.5988 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06536/0.22, allocations: 2.773 MB / 0.6015 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/0.2202, allocations: 221 kB / 0.6017 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.093/2.313, allocations: 7.938 kB / 0.6017 GB, free: 4.023 MB / 0.4981 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/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)